AptlyStar

AWS Secrets Manager

Connect to AWS Secrets Manager

使用方法

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

ツール

secrets_manager_get_secret

Retrieve a secret value from AWS Secrets Manager

入力

パラメータ型必須説明
regionstringはいAWS region (e.g., us-east-1)
accessKeyIdstringはいAWS access key ID
secretAccessKeystringはいAWS secret access key
secretIdstringはいThe name or ARN of the secret to retrieve
versionIdstringいいえThe unique identifier of the version to retrieve
versionStagestringいいえThe staging label of the version to retrieve (e.g., AWSCURRENT, AWSPREVIOUS)

出力

パラメータ型説明
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

入力

パラメータ型必須説明
regionstringはいAWS region (e.g., us-east-1)
accessKeyIdstringはいAWS access key ID
secretAccessKeystringはいAWS secret access key
maxResultsnumberいいえMaximum number of secrets to return (1-100, default 100)
nextTokenstringいいえPagination token from a previous request

出力

パラメータ型説明
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

入力

パラメータ型必須説明
regionstringはいAWS region (e.g., us-east-1)
accessKeyIdstringはいAWS access key ID
secretAccessKeystringはいAWS secret access key
namestringはいName of the secret to create
secretValuestringはいThe secret value (plain text or JSON string)
descriptionstringいいえDescription of the secret

出力

パラメータ型説明
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

入力

パラメータ型必須説明
regionstringはいAWS region (e.g., us-east-1)
accessKeyIdstringはいAWS access key ID
secretAccessKeystringはいAWS secret access key
secretIdstringはいThe name or ARN of the secret to update
secretValuestringはいThe new secret value (plain text or JSON string)
descriptionstringいいえUpdated description of the secret

出力

パラメータ型説明
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

入力

パラメータ型必須説明
regionstringはいAWS region (e.g., us-east-1)
accessKeyIdstringはいAWS access key ID
secretAccessKeystringはいAWS secret access key
secretIdstringはいThe name or ARN of the secret to delete
recoveryWindowInDaysnumberいいえNumber of days before permanent deletion (7-30, default 30)
forceDeletebooleanいいえIf true, immediately delete without recovery window

出力

パラメータ型説明
messagestringOperation status message
namestringName of the deleted secret
arnstringARN of the deleted secret
deletionDatestringScheduled deletion date

On this page