https://pulumi.com logo
#general
Title
# general
a

alert-apple-36592

09/14/2023, 8:20 PM
I’m trying to store SAML metadata (an XML doc) as a secret, but when I paste in the value at the prompt, it just hangs. Is there a limit in the CLI for how large of a string it can take? It’s 2KB but I see the limit for a secret is 128KB. Or is it an escape issue with XML? This is the command I’m using:
pulumi config --config-file path/to/config.yaml set --secret okta_metadata
b

busy-monitor-69572

09/14/2023, 9:16 PM
Have you tried piping the value to pulumi config? eg for OSX it would be
pbpaste | pulumi config --config-file path/to/config.yaml set --secret okta_metadata
a

alert-apple-36592

09/14/2023, 9:27 PM
I did not, but hey that worked!
TYVM