DataZone / Client / get_environment_credentials
get_environment_credentials#
- DataZone.Client.get_environment_credentials(**kwargs)#
Gets the credentials of an environment in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
response = client.get_environment_credentials( domainIdentifier='string', environmentIdentifier='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the Amazon DataZone domain in which this environment and its credentials exist.
environmentIdentifier (string) –
[REQUIRED]
The ID of the environment whose credentials this operation gets.
- Return type:
dict
- Returns:
Response Syntax
{ 'accessKeyId': 'string', 'expiration': datetime(2015, 1, 1), 'secretAccessKey': 'string', 'sessionToken': 'string' }
Response Structure
(dict) –
accessKeyId (string) –
The access key ID of the environment.
expiration (datetime) –
The expiration timestamp of the environment credentials.
secretAccessKey (string) –
The secret access key of the environment credentials.
sessionToken (string) –
The session token of the environment credentials.
Exceptions