SecretsManagerClient.createSecret creates a secret in AWS' secrets manager.
Parameter | Type | Description |
---|---|---|
name | string | The friendly name of the secret. You can use forward slashes in the name to represent a path hierarchy. |
secretString | string | The text data to encrypt and store in this new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value. |
description | string | The description of the secret. |
versionID (optional) | string | Optional unique version identifier for the created secret. If no versionID is provided, an auto-generated UUID will be used instead. |
tags (optional) | Array<{"key": "value"},> | A list of tags to attach to the secret. Each tag is a key and value pair of strings in a JSON text string |