Skip to main content

secrets

Retrieves a list of secrets in a region

Overview

Namesecrets
TypeResource
Descriptionsecrets
Idawscc.secretsmanager.secrets

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.secretsmanager.secrets
WHERE region = 'us-east-1'

Permissions

To operate on the secrets resource, the following permissions are required:

Create

secretsmanager:DescribeSecret,
secretsmanager:GetRandomPassword,
secretsmanager:CreateSecret,
secretsmanager:TagResource

List

secretsmanager:ListSecrets