alicloud

Important

As of Flowpipe 1.0.0, credential has been renamed to connection. The alicloud credential resource is deprecated and will be removed in a future version of Flowpipe. Use the alicloud connection instead.

The alicloud credential can be used to access Alibaba Cloud resources.

credential "alicloud" "alicloud" {
access_key = "LTAI4GBVFakeKey09Kxezv66"
secret_key = "6iNPvThisIsNotARealSecretk1sZF"
}

Arguments

NameTypeRequired?Description
access_keyStringOptionalA static access key to use to authenticate.
secret_keyStringOptionalA static secret key to use to authenticate.

All arguments are optional, and a alicloud credential with no arguments will behave the same as the default credential.

Default Credential

The alicloud credential type includes an implicit, default credential (credential.alicloud.default) that will be configured using either of the following environment variables:

1.ALIBABACLOUD_ACCESS_KEY_ID and ALIBABACLOUD_ACCESS_KEY_SECRET.

credential "alicloud" "default" {
access_key = env("ALIBABACLOUD_ACCESS_KEY_ID")
secret_key = env("ALIBABACLOUD_ACCESS_KEY_SECRET")
}

2.ALICLOUD_ACCESS_KEY_ID and ALICLOUD_ACCESS_KEY_SECRET.

credential "alicloud" "default" {
access_key = env("ALICLOUD_ACCESS_KEY_ID")
secret_key = env("ALICLOUD_ACCESS_KEY_SECRET")
}

3.ALICLOUD_ACCESS_KEY and ALICLOUD_SECRET_KEY.

credential "alicloud" "default" {
access_key = env("ALICLOUD_ACCESS_KEY")
secret_key = env("ALICLOUD_SECRET_KEY")
}