Skip to content

ApiKeySecretOutput

Source code in docs_src/capo_credentialbroker_control/types/api_key_secret_output.py
class ApiKeySecretOutput(TypedDict, closed=True):
    api_key_secret_arn: "capo_credentialbroker_control.types.secret_arn.SecretArn"
    """<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.</p>"""
    api_key_secret_source: (
        "capo_credentialbroker_control.types.secret_source.SecretSource"
    )
    """<p>Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).</p>"""
    api_key_secret_json_key: NotRequired[
        "capo_credentialbroker_control.types.secret_json_key.SecretJsonKey"
    ]
    """<p>The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.</p>"""

api_key_secret_arn instance-attribute

api_key_secret_arn: SecretArn

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.

api_key_secret_json_key instance-attribute

api_key_secret_json_key: NotRequired[SecretJsonKey]

The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.

api_key_secret_source instance-attribute

api_key_secret_source: SecretSource

Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).