square-noon-40215
12/02/2024, 9:16 PMoci_api_key.pem
certificate to be provided to pulumi config ... as per the pulumi docs here:
https://www.pulumi.com/registry/packages/oci/installation-configuration/#pulumi-configuration
However, I noticed that pulumi env set
Cannot take an input of a secret value from STDIN like pulumi config set
can as indicated by the docs. This means it is almost impossible (I've not managed it) to get the .pem file formatted the way the OCI provider is expecting it.
ie you cannot run similar to
# Set the private key from standard input to retain the format
cat "~/.oci/oci_api_key.pem" | pulumi env set org/proj/env pulumiConfig.oci:privateKey --secret
Is this a functionality hole? Or is there another way around that I am missing?square-noon-40215
12/02/2024, 9:22 PMpulumi env set
when trying to pass by STDINred-match-15116
12/02/2024, 10:45 PMsquare-noon-40215
12/02/2024, 10:48 PMstocky-restaurant-98004
12/04/2024, 12:31 AMsquare-noon-40215
12/04/2024, 12:34 AMsquare-noon-40215
12/04/2024, 12:36 AMfn::secret
trick in yaml!stocky-restaurant-98004
12/04/2024, 12:36 AMsquare-noon-40215
12/04/2024, 12:39 AMstocky-restaurant-98004
12/04/2024, 12:41 AMsquare-noon-40215
12/04/2024, 12:42 AMsquare-noon-40215
12/04/2024, 12:42 AMsquare-noon-40215
12/04/2024, 12:43 AMstocky-restaurant-98004
12/04/2024, 12:43 AMsquare-noon-40215
12/04/2024, 12:45 AMstocky-restaurant-98004
12/04/2024, 12:45 AMsquare-noon-40215
12/04/2024, 12:45 AMstocky-restaurant-98004
12/04/2024, 1:03 AM