Skip to content

Get Environment Credentials

datazone_get_environment_credentials R Documentation

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",
  expiration = as.POSIXct(
    "2015-01-01"
  ),
  secretAccessKey = "string",
  sessionToken = "string"
)

Request syntax

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