mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
secrets/db: update documentation on password policies (#16679)
This commit is contained in:
@@ -168,15 +168,12 @@ plugins for the credential types they support and usage examples.
|
|||||||
## Password Generation
|
## Password Generation
|
||||||
|
|
||||||
Passwords are generated via [Password Policies](/docs/concepts/password-policies).
|
Passwords are generated via [Password Policies](/docs/concepts/password-policies).
|
||||||
Databases can optionally set a password policy for use across all roles for that database.
|
Databases can optionally set a password policy for use across all roles or at the
|
||||||
In other words, each time you call `vault write database/config/my-database` you can specify
|
individual role level for that database. For example, each time you call
|
||||||
a password policy for all roles using `my-database`. Each database has a default password
|
`vault write database/config/my-database` you can specify a password policy for all
|
||||||
policy defined as: 20 characters with at least 1 uppercase character, at least 1 lowercase
|
roles using `my-database`. Each database has a default password policy defined as:
|
||||||
character, at least 1 number, and at least 1 dash character.
|
20 characters with at least 1 uppercase character, at least 1 lowercase character,
|
||||||
|
at least 1 number, and at least 1 dash character.
|
||||||
You cannot specify a password policy on a specific role as the purpose of password policies is
|
|
||||||
to adhere to password requirements of systems (such as a database), not making passwords
|
|
||||||
for specific users.
|
|
||||||
|
|
||||||
The default password generation can be represented as the following password policy:
|
The default password generation can be represented as the following password policy:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user