We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd8fb05 commit 3cac332Copy full SHA for 3cac332
Examples/runtimes/go/keyring/awskmsrsakeyring.go
@@ -57,7 +57,7 @@ func KmsRsaKeyringExample(ddbTableName, rsaKeyArn, rsaPublicKeyFilename string)
57
// You may provide your own RSA public key at rsaPublicKeyFilename.
58
// This must be the public key for the RSA key represented at rsaKeyArn.
59
// If this file is not present, this will write a UTF-8 encoded PEM file for you.
60
- if utils.FileExists(rsaPublicKeyFilename) {
+ if !utils.FileExists(rsaPublicKeyFilename) {
61
writePublicKeyPemForRsaKey(rsaKeyArn, rsaPublicKeyFilename)
62
}
63
0 commit comments