password
The password
rotator enables you to rotate any user defined key by generating random passwords.
If you want to generate memorable passphrases use the passphrase rotator
Inputs
- length: The length of the generated passwords. (default
16
) - lower: If
true
the generated passwords will contain lowercase characters. (default:true
) - upper: If
true
the generated passwords will contain uppercase characters. (default:true
) - special: If
true
the generated passwords will contain special characters. (default:true
) - minUpper: The minimum number of uppercase characters that the generated passwords will contain. (default:
0
) - minLower: The minimum number of lowercase characters that the generated passwords will contain. (default:
0
) - minSpecial: The minimum number of special characters that the generated passwords will contain. (default:
0
) - overrideSpecial: a string containing all the special characters that can be used to generate passwords. (default:
!@#$%&*()-_=+[]{}<>:?
)
Example
The password
rotator can be configured for any random user defined key.
values:
mypassword:
fn::rotate::password:
inputs:
minLower: 2
minUpper: 3
minSpecial: 5
overrideSpecial: "!@#$%&*()-_=+[]{}<>:"
length: 15
The previous example will generate passwords like: wn#ZQH}z$[H_&h*
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.