https://pulumi.com logo
#aws
Title
# aws
g

gorgeous-ability-71963

07/26/2022, 7:27 PM
Hi! Does anyone know how to export an accessKey
encryptedSecret
on the stack outputs? I’ve tried this:
Copy code
const lbUser = new aws.iam.User("lbUser", {path: "/system/"});
const lbAccessKey = new aws.iam.AccessKey("lbAccessKey", {
    user: lbUser.name,
});
export const secret = lbAccessKey.encryptedSecret;
But this does not exports the secret. The
pgpKey
parameter is required? If so, how do I generate one?
The solution for this is using
secret
instead of
encryptedSecret
.
6 Views