Generates a temporary authorization token for accessing repositories in the domain
Source:R/codeartifact_operations.R
codeartifact_get_authorization_token.RdGenerates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens.
See https://www.paws-r-sdk.com/docs/codeartifact_get_authorization_token/ for full documentation.
Arguments
- domain
[required] The name of the domain that is in scope for the generated authorization token.
- domainOwner
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- durationSeconds
The time, in seconds, that the generated authorization token is valid. Valid values are
0and any number between900(15 minutes) and43200(12 hours). A value of0will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.