AptlyStar

AWS Secrets Manager

Connect to AWS Secrets Manager

Instructions d'utilisation

Integrate AWS Secrets Manager into the workflow. Can retrieve, create, update, list, and delete secrets.

Outils

secrets_manager_get_secret

Retrieve a secret value from AWS Secrets Manager

Entrée

ParamètreTypeObligatoireDescription
regionstringOuiAWS region (e.g., us-east-1)
accessKeyIdstringOuiAWS access key ID
secretAccessKeystringOuiAWS secret access key
secretIdstringOuiThe name or ARN of the secret to retrieve
versionIdstringNonThe unique identifier of the version to retrieve
versionStagestringNonThe staging label of the version to retrieve (e.g., AWSCURRENT, AWSPREVIOUS)

Sortie

ParamètreTypeDescription
namestringName of the secret
secretValuestringThe decrypted secret value
arnstringARN of the secret
versionIdstringVersion ID of the secret
versionStagesarrayStaging labels attached to this version
createdDatestringDate the secret was created

secrets_manager_list_secrets

List secrets stored in AWS Secrets Manager

Entrée

ParamètreTypeObligatoireDescription
regionstringOuiAWS region (e.g., us-east-1)
accessKeyIdstringOuiAWS access key ID
secretAccessKeystringOuiAWS secret access key
maxResultsnumberNonMaximum number of secrets to return (1-100, default 100)
nextTokenstringNonPagination token from a previous request

Sortie

ParamètreTypeDescription
secretsjsonList of secrets with name, ARN, description, and dates
nextTokenstringPagination token for the next page of results
countnumberNumber of secrets returned

secrets_manager_create_secret

Create a new secret in AWS Secrets Manager

Entrée

ParamètreTypeObligatoireDescription
regionstringOuiAWS region (e.g., us-east-1)
accessKeyIdstringOuiAWS access key ID
secretAccessKeystringOuiAWS secret access key
namestringOuiName of the secret to create
secretValuestringOuiThe secret value (plain text or JSON string)
descriptionstringNonDescription of the secret

Sortie

ParamètreTypeDescription
messagestringOperation status message
namestringName of the created secret
arnstringARN of the created secret
versionIdstringVersion ID of the created secret

secrets_manager_update_secret

Update the value of an existing secret in AWS Secrets Manager

Entrée

ParamètreTypeObligatoireDescription
regionstringOuiAWS region (e.g., us-east-1)
accessKeyIdstringOuiAWS access key ID
secretAccessKeystringOuiAWS secret access key
secretIdstringOuiThe name or ARN of the secret to update
secretValuestringOuiThe new secret value (plain text or JSON string)
descriptionstringNonUpdated description of the secret

Sortie

ParamètreTypeDescription
messagestringOperation status message
namestringName of the updated secret
arnstringARN of the updated secret
versionIdstringVersion ID of the updated secret

secrets_manager_delete_secret

Delete a secret from AWS Secrets Manager

Entrée

ParamètreTypeObligatoireDescription
regionstringOuiAWS region (e.g., us-east-1)
accessKeyIdstringOuiAWS access key ID
secretAccessKeystringOuiAWS secret access key
secretIdstringOuiThe name or ARN of the secret to delete
recoveryWindowInDaysnumberNonNumber of days before permanent deletion (7-30, default 30)
forceDeletebooleanNonIf true, immediately delete without recovery window

Sortie

ParamètreTypeDescription
messagestringOperation status message
namestringName of the deleted secret
arnstringARN of the deleted secret
deletionDatestringScheduled deletion date

On this page