Skip to content

CreateSecretResponse

Source code in docs_src/capo_secrets_manager/types/create_secret_response.py
class CreateSecretResponse(TypedDict, closed=True):
    arn: NotRequired["capo_secrets_manager.types.secret_arn_type.SecretARNType"]
    """<p>The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.</p>"""
    name: NotRequired["capo_secrets_manager.types.secret_name_type.SecretNameType"]
    """<p>The name of the new secret.</p>"""
    version_id: NotRequired[
        "capo_secrets_manager.types.secret_version_id_type.SecretVersionIdType"
    ]
    """<p>The unique identifier associated with the version of the new secret.</p>"""
    replication_status: NotRequired[
        "capo_secrets_manager.types.replication_status_list_type.ReplicationStatusListType"
    ]
    """<p>A list of the replicas of this secret and their status:</p> <ul> <li> <p> <code>Failed</code>, which indicates that the replica was not created.</p> </li> <li> <p> <code>InProgress</code>, which indicates that Secrets Manager is in the process of creating the replica.</p> </li> <li> <p> <code>InSync</code>, which indicates that the replica was created.</p> </li> </ul>"""

arn instance-attribute

arn: NotRequired[SecretARNType]

The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.

name instance-attribute

name: NotRequired[SecretNameType]

The name of the new secret.

replication_status instance-attribute

replication_status: NotRequired[ReplicationStatusListType]

A list of the replicas of this secret and their status:

  • Failed, which indicates that the replica was not created.

  • InProgress, which indicates that Secrets Manager is in the process of creating the replica.

  • InSync, which indicates that the replica was created.

version_id instance-attribute

version_id: NotRequired[SecretVersionIdType]

The unique identifier associated with the version of the new secret.