Complete the code to retrieve a secret value from AWS Secrets Manager using the AWS SDK.
secret_value = client.get_secret_value(SecretId=[1])['SecretString']
The SecretId parameter requires the secret's name or ARN as a string, so it must be quoted.
Complete the code to authenticate with Vault using a token.
client.token = [1]The token must be a string value assigned to the client.token property.
Fix the error in the code to read a secret from Vault's key-value store.
secret = client.secrets.kv.v2.read_secret_version(path=[1])['data']['data']
The path parameter must be a string specifying the secret's path in Vault.
Fill both blanks to configure AWS Secrets Manager client with region and version.
client = boto3.client('secretsmanager', region_name=[1], api_version=[2])
The region_name must be a valid AWS region string, and api_version should be the Secrets Manager API version string.
Fill both blanks to store a secret in Vault with a key and value.
client.secrets.kv.v2.create_or_update_secret(path=[1], secret=[2])
The path is the secret location string, and secret is a dictionary with key-value pairs representing the secret data.