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
9 months agoFidelia
9 months agoEvangelina
9 months agoStevie
10 months agoMica
10 months agoNovella
10 months agoGladis
10 months agoKassandra
10 months agoPhyliss
11 months agoLea
11 months agoGussie
11 months agoMitzie
11 months agoLisbeth
11 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