You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"vault_aws_access_credentials" {
source="./modules/vault/d/vault_aws_access_credentials"# backend - (required) is a type of stringbackend=null# region - (optional) is a type of stringregion=null# role - (required) is a type of stringrole=null# role_arn - (optional) is a type of stringrole_arn=null# ttl - (optional) is a type of stringttl=null# type - (optional) is a type of stringtype=null
}
variable"backend" {
description="(required) - AWS Secret Backend to read credentials from."type=string
}
variable"region" {
description="(optional) - Region the read credentials belong to."type=stringdefault=null
}
variable"role" {
description="(required) - AWS Secret Role to read credentials from."type=string
}
variable"role_arn" {
description="(optional) - ARN to use if multiple are available in the role. Required if the role has multiple ARNs."type=stringdefault=null
}
variable"ttl" {
description="(optional) - User specified Time-To-Live for the STS token. Uses the Role defined default_sts_ttl when not specified"type=stringdefault=null
}
variable"type" {
description="(optional) - Type of credentials to read. Must be either 'creds' for Access Key and Secret Key, or 'sts' for STS."type=stringdefault=null
}
data"vault_aws_access_credentials""this" {
# backend - (required) is a type of stringbackend=var.backend# region - (optional) is a type of stringregion=var.region# role - (required) is a type of stringrole=var.role# role_arn - (optional) is a type of stringrole_arn=var.role_arn# ttl - (optional) is a type of stringttl=var.ttl# type - (optional) is a type of stringtype=var.type
}