update_aws_secrets_manager_config

Use this command to edit an AWS secrets configuration.

This API is available in Guardium V11.3 and later.

REST API syntax

This API is available as a REST service with the PUT method. Call this API as follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/aws_secrets_manager

GuardAPI syntax

update_aws_secrets_manager_config parameter=value

Parameters

Parameter Value type Description
access_key_id String  
auth_type String Required. Valid values:
  • Security-Credentials
  • IAM-Role
  • IAM-Instance-Profile
name String Required. For valid values, call update_aws_secrets_manager_config from the command line with --help=true.
role_arn String The Role Amazon Resource Name (ARN)
secret_access_key String  
secret_key_password String The Secret key label for the password
secret_key_username String The Secret key label for the username

Examples

grdapi update_aws_secrets_manager_config name="GRDAPI Security-Credentials" access_key_id="AABBCC123" secret_access_key="XXYYZZ321" secret_key_password="password" secret_key_username="username"
grdapi update_aws_secrets_manager_config name="GRDAPI IAM-Role" auth_type="IAM-Role" role_arn="arn:aws:iam::123456789:role/Name_AWS_Secret_ManagerReadWrite_role" access_key_id="aabbcc123" secret_access_key="abcdefg" secret_key_password="password" secret_key_username="username" 
grdapi update_aws_secrets_manager_config name="GRDAPI IAM-Instance-Profile2"  auth_type="IAM-Instance-Profile2" secret_key_password="password" secret_key_username="username"