Skip to content

SecretReference

Source code in docs_src/capo_credentialbroker_control/types/secret_reference.py
class SecretReference(TypedDict, closed=True):
    secret_id: "capo_credentialbroker_control.types.secret_id.SecretId"
    """<p>Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.</p>"""
    json_key: "capo_credentialbroker_control.types.secret_json_key.SecretJsonKey"
    """<p>Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.</p>"""

json_key instance-attribute

json_key: SecretJsonKey

Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

secret_id instance-attribute

secret_id: SecretId

Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.