Snowflake COF-C02 Exam - Topic 6 Question 46 Discussion
Which command should be used to assign a key to a Snowflake user who needs to connect using key pair authentication?
D) ALTER USER jsmith SET RSA_PUBLIC_KEY-MIIBIjANBgkqh...';
To use key pair authentication in Snowflake, you need to set the public key for the user. This allows the user to authenticate using their private key.
Generate Key Pair: Generate a public and private key pair.
Set Public Key:
ALTER USER jsmith SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...';
Authentication: The user can now authenticate by signing requests with the corresponding private key.
References:
Snowflake Documentation: Key Pair Authentication & Key Rotation
Snowflake Documentation: ALTER USER
A) ALTER USER jsmith SET RSA_P8_KEY='MIIBIjANBgkqh...';
B) ALTER USER jsmith SET ENCRYPTED_KEY='MIIBIjANBgkqh...';
C) ALTER USER jsmith SET RSA_PRIVATE_KEY='MIIBIjANBgkqh...';
Stefania
8 months agoFidelia
8 months agoEvangelina
8 months agoStevie
8 months agoMica
8 months agoNovella
9 months agoGladis
9 months agoKassandra
9 months agoPhyliss
9 months agoLea
9 months agoGussie
9 months agoMitzie
9 months agoLisbeth
9 months agoCheryll
2 years agoCasey
2 years agoAmie
2 years agoCelestina
2 years agoBritt
2 years agoKanisha
2 years agoTerry
2 years agoAzzie
2 years agoYuki
2 years agoWilda
2 years agoLashandra
2 years agoYoulanda
2 years agoLeanora
2 years agoFelice
2 years agoTeddy
2 years agoLaurene
2 years agoJesusa
2 years ago