Skip to content

Commit 16b1e22

Browse files
committed
Made it more clear how to create the secretsTable.
1 parent 6078b3a commit 16b1e22

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@
2727
import logging
2828
import boto3
2929
#
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.
3135
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-0e8d9172fa545ef3b", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"},
37+
{"id": "fs-020de2687bd98ccf7", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"},
38+
{"id": "fs-07bcb7ad84ac75e43", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"},
39+
{"id": "fs-077b5ff41951c57b2", "secretName": "fsxn-credentials", "usernameKey": "fsxn-username", "passwordKey": "fsxn-password"}
3640
]
3741
#
3842
# Set the region where the secrets are stored.

0 commit comments

Comments
 (0)