vault_alicloud_auth_backend_role

Provides a resource to create a role in an AliCloud auth backend within Vault.

Example Usage

resource "vault_auth_backend" "alicloud" {
    type = "alicloud"
    path = "alicloud"
}

resource "vault_alicloud_auth_backend_role" "alicloud" {
    backend = vault_auth_backend.alicloud.path
    role    = "example"
    arn     = "acs:ram:123456:tf:role/foobar"

}

Argument Reference

The following arguments are supported:

For more details on the usage of each argument consult the Vault AliCloud API documentation.

Common Token Arguments

These arguments are common across several Authentication Token resources since Vault 1.2.

Attribute Reference

No additional attributes are exposed by this resource.

Import

Alicloud authentication roles can be imported using the path, e.g.

$ terraform import vault_alicloud_auth_backend_role.my_role auth/alicloud/role/my_role