Files
threshold-plugin-gcp/internal/credential/const.go
T

30 lines
1.1 KiB
Go
Raw Normal View History

// Copyright IBM Corp. 2024, 2026
2024-04-02 15:47:49 -04:00
// SPDX-License-Identifier: MPL-2.0
package credential
const (
2024-09-17 10:50:10 -04:00
// ConstProjectId defines the attribute name for a GCP project
ConstProjectId = "project_id"
2024-04-02 15:47:49 -04:00
2024-09-17 10:50:10 -04:00
// ConstZone defines the attribute name for a GCP zone
2024-08-06 11:51:00 -04:00
ConstZone = "zone"
2024-09-17 10:50:10 -04:00
// ConstDisableCredentialRotation is the key for the disable credential rotation in the GCP credentials.
ConstDisableCredentialRotation = "disable_credential_rotation"
// ConstCredsLastRotatedTime is the key for the last rotated time in the GCP credentials.
ConstCredsLastRotatedTime = "creds_last_rotated_time"
// ConstClientEmail is the email address associated with the service account
ConstClientEmail = "client_email"
// ConstTargetServiceAccountID is the unique identifier for the service account that will be impersonated.
ConstTargetServiceAccountID = "target_service_account_id"
2024-10-21 10:47:06 -04:00
// ConstPrivateKeyId is the private key id associated with the service account
ConstPrivateKeyId = "private_key_id"
// ConstPrivateKey is the private key associated with the service account
ConstPrivateKey = "private_key"
2024-08-06 11:51:00 -04:00
)