infra-nimbus/secrets.tf

28 lines
695 B
HCL

# Uses PASSWORD_STORE_DIR environment variable
provider "pass" { refresh_store = false }
/* Token for interacting with Cloudflare API. */
data "pass_password" "cloudflare_token" {
path = "cloud/Cloudflare/token"
}
/* Email address of Cloudflare account. */
data "pass_password" "cloudflare_email" {
path = "cloud/Cloudflare/email"
}
/* ID of the CloudFlare organization. */
data "pass_password" "cloudflare_account" {
path = "cloud/Cloudflare/account"
}
/* Access key for the AWS API. */
data "pass_password" "aws_access_key" {
path = "cloud/AWS/Nimbus/access-key"
}
/* Secret key for the AWS API. */
data "pass_password" "aws_secret_key" {
path = "cloud/AWS/Nimbus/secret-key"
}