GetAccessCredentialsPlainArgs

data class GetAccessCredentialsPlainArgs(val backend: String, val namespace: String? = null, val region: String? = null, val role: String, val roleArn: String? = null, val ttl: String? = null, val type: String? = null) : ConvertibleToJava<GetAccessCredentialsPlainArgs>

A collection of arguments for invoking getAccessCredentials.

Constructors

Link copied to clipboard
constructor(backend: String, namespace: String? = null, region: String? = null, role: String, roleArn: String? = null, ttl: String? = null, type: String? = null)

Properties

Link copied to clipboard

The path to the AWS secret backend to read credentials from, with no leading or trailing /s.

Link copied to clipboard
val namespace: String? = null

The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Link copied to clipboard
val region: String? = null

The region the read credentials belong to.

Link copied to clipboard

The name of the AWS secret backend role to read credentials from, with no leading or trailing /s.

Link copied to clipboard
val roleArn: String? = null

The specific AWS ARN to use from the configured role. If the role does not have multiple ARNs, this does not need to be specified.

Link copied to clipboard
val ttl: String? = null

Specifies the TTL for the use of the STS token. This is specified as a string with a duration suffix. Valid only when credential_type of the connected vault.aws.SecretBackendRole resource is assumed_role or federation_token

Link copied to clipboard
val type: String? = null

The type of credentials to read. Defaults to "creds", which just returns an AWS Access Key ID and Secret Key. Can also be set to "sts", which will return a security token in addition to the keys.

Functions

Link copied to clipboard
open override fun toJava(): GetAccessCredentialsPlainArgs