Skip to content

/AWS1/CL_SMRCREATESECRETRSP

CreateSecretResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_arn TYPE /AWS1/SMRSECRETARNTYPE /AWS1/SMRSECRETARNTYPE

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.

iv_name TYPE /AWS1/SMRSECRETNAMETYPE /AWS1/SMRSECRETNAMETYPE

The name of the new secret.

iv_versionid TYPE /AWS1/SMRSECRETVERSIONIDTYPE /AWS1/SMRSECRETVERSIONIDTYPE

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

it_replicationstatus TYPE /AWS1/CL_SMRREPLSTATUSTYPE=>TT_REPLICATIONSTATUSLISTTYPE TT_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.


Queryable Attributes

ARN

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.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

Name

The name of the new secret.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

VersionId

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

Accessible with the following methods

Method Description
GET_VERSIONID() Getter for VERSIONID, with configurable default
ASK_VERSIONID() Getter for VERSIONID w/ exceptions if field has no value
HAS_VERSIONID() Determine if VERSIONID has a value

ReplicationStatus

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.

Accessible with the following methods

Method Description
GET_REPLICATIONSTATUS() Getter for REPLICATIONSTATUS, with configurable default
ASK_REPLICATIONSTATUS() Getter for REPLICATIONSTATUS w/ exceptions if field has no v
HAS_REPLICATIONSTATUS() Determine if REPLICATIONSTATUS has a value