https://pulumi.com logo
#getting-started
Title
# getting-started
a

average-petabyte-74199

03/26/2024, 12:53 AM
I found neither snowflake.User nor snowflake.UserPublicKeys in Pulumi Python API can set up user RSA_PUBLIC_KEY. The RSA_PUBLIC_KEY of the user is still null after these two API calls. The version is python pulumi_snowflake-0.50.2. Is this really supported in python library?
l

little-cartoon-10569

03/26/2024, 4:39 AM
Note that the public keys are write-only in the Terraform schema, so it's possible that they will have no value when read from the provider.
a

average-petabyte-74199

03/26/2024, 4:51 AM
I read the user directly from Snowflake console. RSA_PUBLIC_KEY was not there until I manually use “ALTER USER …” to set it up.