Skip to content

Commit a2855a5

Browse files
committed
Added instructions on how to create a secret.
1 parent 87ecdf9 commit a2855a5

File tree

1 file changed

+17
-1
lines changed
  • CloudFormation/NetApp-FSxN-Custom-Resources-Samples

1 file changed

+17
-1
lines changed

CloudFormation/NetApp-FSxN-Custom-Resources-Samples/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,23 @@ The security groups must allow access to the FSxN management endpoint over port
9191
No spaces between the security group IDs. Only one is required.
9292
- `<link_name>` is the name you want to give the link. It is also used as the name assigned to the link Lambda function.
9393

94-
Once you have done this, you are ready to start using the examples in this repository.
94+
### Step 4: Create an AWS Secret Manager Secret
95+
All of the extensions use an AWS Secrets Manager secret to obtain the credentials needed to manage the FSx for ONTAP file system.
96+
The secret should be a JSON object with the one key. The key can be named anything, but the value should be of the form `"username:passwwrd"`.
97+
This allows you to use any username you want. If you want to use fsxadmin (the default admin for an FSx for ONTAP file system), then the value can be just that user's password.
98+
99+
The following command can be used to create a secret:
100+
```
101+
aws secretsmanager create-secret --name <secret-name> --secret-string '{"<key-name>":"<username>:<password>"}'
102+
103+
Where
104+
<secret-name> is the name you want to give the secret.
105+
<key-name> is the name of the key in the secret. It can be anything you want.
106+
<username> is the username you want to use to manage the FSx for ONTAP file system.
107+
<password> is the password for the username.
108+
```
109+
110+
Once you have done the above steps you are ready to start using the examples in this repository.
95111

96112
| File | Description |
97113
|------|-------------|

0 commit comments

Comments
 (0)