You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the pulsar admin cli to create a pulsar function that has secrets in its Context from env vars. However I find that there are no good docs or examples to be found and hope to find it here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all,
I'm trying to use the pulsar admin cli to create a pulsar function that has secrets in its Context from env vars. However I find that there are no good docs or examples to be found and hope to find it here.
bin/pulsar-admin functions create
--jar
--classname
--tenant
--namespace
--name
--secrets-provider-classname org.apache.pulsar.functions.secretsprovider.EnvironmentBasedSecretsProvider
--secrets '{"secret_name": "env_var"}'
This is more or less what im attempting, however I keep getting:
" Was passed main parameter '--secrets-provider-classname' but no main parameter was defined in your arg class "
kind regards
Beta Was this translation helpful? Give feedback.
All reactions