Skip to content

Gets the credentials of an environment in Amazon DataZone

Description

Gets the credentials of an environment in Amazon DataZone.

Usage

datazone_get_environment_credentials(domainIdentifier,
  environmentIdentifier)

Arguments

  • domainIdentifier

[required] The ID of the Amazon DataZone domain in which this environment and its credentials exist.

  • environmentIdentifier

[required] The ID of the environment whose credentials this operation gets.

Value

A list with the following syntax:

list(
  accessKeyId = "string",
  secretAccessKey = "string",
  sessionToken = "string",
  expiration = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_environment_credentials(
  domainIdentifier = "string",
  environmentIdentifier = "string"
)