|
27 | 27 | import logging |
28 | 28 | import boto3 |
29 | 29 | # |
30 | | -# Create a table of secret names and keys for the username and password for each of the FSxIds. |
| 30 | +# Create a table of secret names and keys for the username and password for |
| 31 | +# each of the FSxIds. In the example below, it shows using the same |
| 32 | +# secret for four differnt FSxIds, but you can set it up to use |
| 33 | +# a different secret and/or keys for the username and password for each |
| 34 | +# of the FSxId. |
31 | 35 | secretsTable = [ |
32 | | - {"id": "fs-0e8d9172fa545ef3b", "secretName": "mon-fsxn-credentials", "usernameKey": "mon-fsxn-username", "passwordKey": "mon-fsxn-password"}, |
33 | | - {"id": "fs-020de2687bd98ccf7", "secretName": "mon-fsxn-credentials", "usernameKey": "mon-fsxn-username", "passwordKey": "mon-fsxn-password"}, |
34 | | - {"id": "fs-07bcb7ad84ac75e43", "secretName": "mon-fsxn-credentials", "usernameKey": "mon-fsxn-username", "passwordKey": "mon-fsxn-password"}, |
35 | | - {"id": "fs-077b5ff41951c57b2", "secretName": "mon-fsxn-credentials", "usernameKey": "mon-fsxn-username", "passwordKey": "mon-fsxn-password"} |
| 36 | + {"id": "fs-0e8d9172fa5XXXXXX", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"}, |
| 37 | + {"id": "fs-020de2687bdXXXXXX", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"}, |
| 38 | + {"id": "fs-07bcb7ad84aXXXXXX", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"}, |
| 39 | + {"id": "fs-077b5ff4195XXXXXX", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"} |
36 | 40 | ] |
37 | 41 | # |
38 | 42 | # Set the region where the secrets are stored. |
|
0 commit comments