DescribeSecret
Source:
src/AWS/SecretsManager/DescribeSecret.ts
Runtime binding for secretsmanager:DescribeSecret.
Bind this operation to a Secret to get a callable that reads the secret’s
metadata (name, description, rotation config, version stages) without
exposing its value. Provide the implementation with
Effect.provide(AWS.SecretsManager.DescribeSecretHttp).
Inspecting Secrets
Section titled “Inspecting Secrets”// init — bind the operation to the secretconst describeSecret = yield* AWS.SecretsManager.DescribeSecret(secret);
// runtime — metadata only, no secret value in the responseconst info = yield* describeSecret();const arn = info.ARN;const description = info.Description;