2023-06-05 09:52:48 -07:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2023-03-20 11:02:17 -07:00
|
|
|
package credential
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// ConstAccessKey is the key for the region in the aws credentials.
|
|
|
|
|
ConstRegion = "region"
|
|
|
|
|
|
|
|
|
|
// ConstAccessKey is the key for the access key id in the aws credentials.
|
|
|
|
|
ConstAccessKeyId = "access_key_id"
|
|
|
|
|
|
|
|
|
|
// ConstSecretAccessKey is the key for the secret access key in the aws credentials.
|
|
|
|
|
ConstSecretAccessKey = "secret_access_key"
|
|
|
|
|
|
|
|
|
|
// ConstDisableCredentialRotation is the key for the disable credential rotation in the aws credentials.
|
|
|
|
|
ConstDisableCredentialRotation = "disable_credential_rotation"
|
|
|
|
|
|
|
|
|
|
// ConstCredsLastRotatedTime is the key for the last rotated time in the aws credentials.
|
|
|
|
|
ConstCredsLastRotatedTime = "creds_last_rotated_time"
|
2023-07-18 16:33:24 -07:00
|
|
|
|
|
|
|
|
// ConstRoleArn is the key for assuming a IAM role.
|
|
|
|
|
ConstRoleArn = "role_arn"
|
|
|
|
|
|
|
|
|
|
// ConstRoleExternalId is the key for the external id used for assuming a IAM role.
|
|
|
|
|
ConstRoleExternalId = "role_external_id"
|
|
|
|
|
|
|
|
|
|
// ConstRoleSessionName is the key for the session name used for assuming a IAM role.
|
|
|
|
|
ConstRoleSessionName = "role_session_name"
|
|
|
|
|
|
|
|
|
|
// ConstRoleTags is the key for the tags used for assuming a IAM role.
|
|
|
|
|
ConstRoleTags = "role_tags"
|
2023-03-20 11:02:17 -07:00
|
|
|
)
|