AssociateCrossAccountReplicaRequest
¶
Source code in docs_src/capo_secrets_manager/types/associate_cross_account_replica_request.py
cross_account_replica_arn
instance-attribute
¶
cross_account_replica_arn: SecretARNType
The ARN of the replica secret in the other Amazon Web Services account. The replica secret must be in the same Region and partition as the primary secret. Additionally, the replica account owner must have created the replica secret as a cross-account replica of the primary secret. For more information see CreateSecret.
replica_restriction
instance-attribute
¶
replica_restriction: NotRequired[ReplicaRestrictionType]
Whether the replica account must belong to the same Amazon Web Services organization as the primary account:
-
SameOrg, which requires the replica account to be in the same organization as the primary account. This is the default. -
NoRestriction, which allows the replica account to be in any organization.
replication_role_arn
instance-attribute
¶
replication_role_arn: NotRequired[RoleARNType]
The ARN of an IAM role in the primary account that Secrets Manager assumes to perform replication. If you don't include this field, Secrets Manager replicates using the credentials of caller who updates the primary secret. For more information, see Cross-account replication permissions.
secret_id
instance-attribute
¶
secret_id: SecretIdType
The ARN or name of the primary secret in your account to replicate.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.