-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Oracle Password Secret Rotation | ||
|
|
||
| Format: | ||
|
|
||
| ```script | ||
| /db/{rds-instance-name}/{database-name}/{username} | ||
| ``` | ||
|
|
||
| Tags: | ||
|
|
||
| * rds_username = JBID | ||
| * rds_fqdn = DNS name of RDS instance | ||
|
|
||
| Rotation: | ||
|
|
||
| * per-user (meaning an original passsword needs to be provided or an admin sets it on creation of the secret) | ||
| * daily at say 10pm M-F | ||
|
|
||
| Permission: | ||
|
|
||
| Grant access to the secret by username from SSO, plus and admins (inf-terraform, inf-admin-t*) | ||
|
|
||
| Script: | ||
|
|
||
| Create script (python, powershell) to pull secret with AWS CLI or SDK: | ||
|
|
||
| get-oracle-password --rds-instance NAME --database NAME --username NAME | ||
|
|
||
| outputs password |