Files
threshold/internal/credential/vault/fields.go
T
429247f407 [COMPLIANCE] Update Copyright Headers (#6282)
* [COMPLIANCE] Update Copyright and License Headers

* chore: make gen to generate files with copyright headers

* chore: update missed copyright headers

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Justin Nguyen <justin.nguyen@hashicorp.com>
2026-01-28 11:05:07 -06:00

44 lines
1.4 KiB
Go

// Copyright IBM Corp. 2020, 2025
// SPDX-License-Identifier: BUSL-1.1
package vault
// These constants are the field names used in the vault related field masks.
const (
nameField = "Name"
descriptionField = "Description"
vaultPathField = "VaultPath"
httpMethodField = "HttpMethod"
httpRequestBodyField = "HttpRequestBody"
usernameField = "Username"
keyTypeField = "KeyType"
keyBitsField = "KeyBits"
ttlField = "Ttl"
keyIdField = "KeyId"
// CriticalOptionsField represents the field mask indicating a critical option
// update has been requested.
CriticalOptionsField = "CriticalOptions"
// ExtensionsField represents the field mask indicating an extension
// update has been requested.
ExtensionsField = "Extensions"
// AdditionalValidPrincipalsField represents the field mask indicating a valid
// principal update has been requested.
AdditionalValidPrincipalsField = "AdditionalValidPrincipals"
certificateField = "Certificate"
certificateKeyField = "CertificateKey"
vaultAddressField = "VaultAddress"
namespaceField = "Namespace"
caCertField = "CaCert"
tlsServerNameField = "TlsServerName"
tlsSkipVerifyField = "TlsSkipVerify"
tokenField = "Token"
workerFilterField = "WorkerFilter"
// MappingOverrideField represents the field mask indicating a mapping override
// update has been requested.
MappingOverrideField = "MappingOverride"
)