Documentation ¶
Index ¶
- Variables
- func AsKMSAutokeyConfigExternal(parent *KMSAutokeyConfigParent) (external string)
- func AsKMSKeyHandleExternal(parent *KMSKeyHandleParent, resourceID string) (external string)
- type AutokeyConfig
- type Certificate
- type CreateKeyHandleMetadata
- type CryptoKey
- type CryptoKeyVersion
- type CryptoKeyVersionTemplate
- type Digest
- type EkmConfig
- type EkmConnection
- type EkmConnection_ServiceResolver
- type ExternalProtectionLevelOptions
- type ImportJob
- type ImportJob_WrappingPublicKey
- type KMSAutokeyConfig
- type KMSAutokeyConfigList
- type KMSAutokeyConfigObservedState
- type KMSAutokeyConfigParent
- type KMSAutokeyConfigRef
- func (in *KMSAutokeyConfigRef) DeepCopy() *KMSAutokeyConfigRef
- func (in *KMSAutokeyConfigRef) DeepCopyInto(out *KMSAutokeyConfigRef)
- func (r *KMSAutokeyConfigRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
- func (r *KMSAutokeyConfigRef) Parent() (*KMSAutokeyConfigParent, error)
- type KMSAutokeyConfigSpec
- type KMSAutokeyConfigStatus
- type KMSKeyHandle
- type KMSKeyHandleList
- type KMSKeyHandleObservedState
- type KMSKeyHandleParent
- type KMSKeyHandleRef
- func (in *KMSKeyHandleRef) DeepCopy() *KMSKeyHandleRef
- func (in *KMSKeyHandleRef) DeepCopyInto(out *KMSKeyHandleRef)
- func (r *KMSKeyHandleRef) KeyHandleID() (string, bool, error)
- func (r *KMSKeyHandleRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
- func (r *KMSKeyHandleRef) Parent() (*KMSKeyHandleParent, error)
- type KMSKeyHandleSpec
- type KMSKeyHandleStatus
- type KMSKeyRing
- type KMSKeyRingList
- type KMSKeyRingSpec
- type KMSKeyRingStatus
- type KeyAccessJustificationsPolicy
- type KeyHandle
- type KeyOperationAttestation
- type KeyOperationAttestation_CertificateChains
- type LocationMetadata
- type PublicKey
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "kms.cnrm.cloud.google.com", Version: "v1beta1"} )
var KMSAutokeyConfigGVK = SchemeGroupVersion.WithKind("KMSAutokeyConfig")
var KMSKeyHandleGVK = SchemeGroupVersion.WithKind("KMSKeyHandle")
var ( KMSKeyRingGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: "KMSKeyRing", } )
Functions ¶
func AsKMSAutokeyConfigExternal ¶ added in v1.126.0
func AsKMSAutokeyConfigExternal(parent *KMSAutokeyConfigParent) (external string)
func AsKMSKeyHandleExternal ¶ added in v1.126.0
func AsKMSKeyHandleExternal(parent *KMSKeyHandleParent, resourceID string) (external string)
Types ¶
type AutokeyConfig ¶
type AutokeyConfig struct { // Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] // resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`. Name *string `json:"name,omitempty"` // Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or // `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new // [CryptoKey][google.cloud.kms.v1.CryptoKey] when a // [KeyHandle][google.cloud.kms.v1.KeyHandle] is created. On // [UpdateAutokeyConfig][google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfig], // the caller will require `cloudkms.cryptoKeys.setIamPolicy` permission on // this key project. Once configured, for Cloud KMS Autokey to function // properly, this key project must have the Cloud KMS API activated and the // Cloud KMS Service Agent for this key project must be granted the // `cloudkms.admin` role (or pertinent permissions). A request with an empty // key project field will clear the configuration. KeyProject *refs.ProjectRef `json:"keyProject,omitempty"` // Output only. The state for the AutokeyConfig. State *string `json:"state,omitempty"` }
+kcc:proto=google.cloud.kms.v1.AutokeyConfig
func (*AutokeyConfig) DeepCopy ¶
func (in *AutokeyConfig) DeepCopy() *AutokeyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutokeyConfig.
func (*AutokeyConfig) DeepCopyInto ¶
func (in *AutokeyConfig) DeepCopyInto(out *AutokeyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Certificate ¶
type Certificate struct { // Required. The raw certificate bytes in DER format. RawDer *[]byte `json:"rawDer,omitempty"` // Output only. True if the certificate was parsed successfully. Parsed *bool `json:"parsed,omitempty"` // Output only. The issuer distinguished name in RFC 2253 format. Only present // if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. Issuer *string `json:"issuer,omitempty"` // Output only. The subject distinguished name in RFC 2253 format. Only // present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. Subject *string `json:"subject,omitempty"` // Output only. The subject Alternative DNS names. Only present if // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. SubjectAlternativeDnsNames []string `json:"subjectAlternativeDnsNames,omitempty"` // Output only. The certificate is not valid before this time. Only present if // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. NotBeforeTime *string `json:"notBeforeTime,omitempty"` // Output only. The certificate is not valid after this time. Only present if // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. NotAfterTime *string `json:"notAfterTime,omitempty"` // Output only. The certificate serial number as a hex string. Only present if // [parsed][google.cloud.kms.v1.Certificate.parsed] is true. SerialNumber *string `json:"serialNumber,omitempty"` // Output only. The SHA-256 certificate fingerprint as a hex string. Only // present if [parsed][google.cloud.kms.v1.Certificate.parsed] is true. Sha256Fingerprint *string `json:"sha256Fingerprint,omitempty"` }
+kcc:proto=google.cloud.kms.v1.Certificate
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreateKeyHandleMetadata ¶
type CreateKeyHandleMetadata struct { }
+kcc:proto=google.cloud.kms.v1.CreateKeyHandleMetadata
func (*CreateKeyHandleMetadata) DeepCopy ¶
func (in *CreateKeyHandleMetadata) DeepCopy() *CreateKeyHandleMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateKeyHandleMetadata.
func (*CreateKeyHandleMetadata) DeepCopyInto ¶
func (in *CreateKeyHandleMetadata) DeepCopyInto(out *CreateKeyHandleMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CryptoKey ¶
type CryptoKey struct { // Output only. The resource name for this // [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Name *string `json:"name,omitempty"` // Output only. A copy of the "primary" // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that will be used // by [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] when this // [CryptoKey][google.cloud.kms.v1.CryptoKey] is given in // [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. // // The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be // updated via // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] // may have a primary. For other keys, this field will be omitted. Primary *CryptoKeyVersion `json:"primary,omitempty"` // Immutable. The immutable purpose of this // [CryptoKey][google.cloud.kms.v1.CryptoKey]. Purpose *string `json:"purpose,omitempty"` // Output only. The time at which this // [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. CreateTime *string `json:"createTime,omitempty"` // At [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time], // the Key Management Service will automatically: // // 1. Create a new version of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. // 2. Mark the new version as primary. // // Key rotations performed manually via // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] // and // [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion] // do not affect // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time]. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] // support automatic rotation. For other keys, this field must be omitted. NextRotationTime *string `json:"nextRotationTime,omitempty"` // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] // will be advanced by this period when the service automatically rotates a // key. Must be at least 24 hours and at most 876,000 hours. // // If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is // set, // [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] // must also be set. // // Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] // support automatic rotation. For other keys, this field must be omitted. RotationPeriod *string `json:"rotationPeriod,omitempty"` // A template describing settings for new // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] instances. The // properties of new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] // instances created by either // [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] // or auto-rotation are controlled by this template. VersionTemplate *CryptoKeyVersionTemplate `json:"versionTemplate,omitempty"` // Labels with user-defined metadata. For more information, see // [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys). Labels map[string]string `json:"labels,omitempty"` // Immutable. Whether this key may contain imported versions only. ImportOnly *bool `json:"importOnly,omitempty"` // Immutable. The period of time that versions of this key spend in the // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED] // state before transitioning to // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. // If not specified at creation time, the default duration is 24 hours. DestroyScheduledDuration *string `json:"destroyScheduledDuration,omitempty"` // Immutable. The resource name of the backend environment where the key // material for all [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] // associated with this [CryptoKey][google.cloud.kms.v1.CryptoKey] reside and // where all related cryptographic operations are performed. Only applicable // if [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] have a // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of // [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], with the // resource name in the format `projects/*/locations/*/ekmConnections/*`. // Note, this list is non-exhaustive and may apply to additional // [ProtectionLevels][google.cloud.kms.v1.ProtectionLevel] in the future. CryptoKeyBackend *string `json:"cryptoKeyBackend,omitempty"` // Optional. The policy used for Key Access Justifications Policy Enforcement. // If this field is present and this key is enrolled in Key Access // Justifications Policy Enforcement, the policy will be evaluated in encrypt, // decrypt, and sign operations, and the operation will fail if rejected by // the policy. The policy is defined by specifying zero or more allowed // justification codes. // https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes // By default, this field is absent, and all justification codes are allowed. KeyAccessJustificationsPolicy *KeyAccessJustificationsPolicy `json:"keyAccessJustificationsPolicy,omitempty"` }
+kcc:proto=google.cloud.kms.v1.CryptoKey
func (*CryptoKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKey.
func (*CryptoKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CryptoKeyVersion ¶
type CryptoKeyVersion struct { // Output only. The resource name for this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format // `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. Name *string `json:"name,omitempty"` // The current state of the // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. State *string `json:"state,omitempty"` // Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] // describing how crypto operations are performed with this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. ProtectionLevel *string `json:"protectionLevel,omitempty"` // Output only. The // [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] // that this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] // supports. Algorithm *string `json:"algorithm,omitempty"` // Output only. Statement that was generated and signed by the HSM at key // creation time. Use this statement to verify attributes of the key as stored // on the HSM, independently of Google. Only provided for key versions with // [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. Attestation *KeyOperationAttestation `json:"attestation,omitempty"` // Output only. The time at which this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. CreateTime *string `json:"createTime,omitempty"` // Output only. The time this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was // generated. GenerateTime *string `json:"generateTime,omitempty"` // Output only. The time this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material is // scheduled for destruction. Only present if // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. DestroyTime *string `json:"destroyTime,omitempty"` // Output only. The time this CryptoKeyVersion's key material was // destroyed. Only present if // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. DestroyEventTime *string `json:"destroyEventTime,omitempty"` // Output only. The name of the [ImportJob][google.cloud.kms.v1.ImportJob] // used in the most recent import of this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if // the underlying key material was imported. ImportJob *string `json:"importJob,omitempty"` // Output only. The time at which this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was // most recently imported. ImportTime *string `json:"importTime,omitempty"` // Output only. The root cause of the most recent import failure. Only present // if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. ImportFailureReason *string `json:"importFailureReason,omitempty"` // Output only. The root cause of the most recent generation failure. Only // present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED]. GenerationFailureReason *string `json:"generationFailureReason,omitempty"` // Output only. The root cause of the most recent external destruction // failure. Only present if // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is // [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED]. ExternalDestructionFailureReason *string `json:"externalDestructionFailureReason,omitempty"` // ExternalProtectionLevelOptions stores a group of additional fields for // configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that // are specific to the // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] protection level // and [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] // protection levels. ExternalProtectionLevelOptions *ExternalProtectionLevelOptions `json:"externalProtectionLevelOptions,omitempty"` // Output only. Whether or not this key version is eligible for reimport, by // being specified as a target in // [ImportCryptoKeyVersionRequest.crypto_key_version][google.cloud.kms.v1.ImportCryptoKeyVersionRequest.crypto_key_version]. ReimportEligible *bool `json:"reimportEligible,omitempty"` }
+kcc:proto=google.cloud.kms.v1.CryptoKeyVersion
func (*CryptoKeyVersion) DeepCopy ¶
func (in *CryptoKeyVersion) DeepCopy() *CryptoKeyVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyVersion.
func (*CryptoKeyVersion) DeepCopyInto ¶
func (in *CryptoKeyVersion) DeepCopyInto(out *CryptoKeyVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CryptoKeyVersionTemplate ¶
type CryptoKeyVersionTemplate struct { // [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating // a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this // template. Immutable. Defaults to // [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE]. ProtectionLevel *string `json:"protectionLevel,omitempty"` // Required. // [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] // to use when creating a // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this // template. // // For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both // this field is omitted and // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. Algorithm *string `json:"algorithm,omitempty"` }
+kcc:proto=google.cloud.kms.v1.CryptoKeyVersionTemplate
func (*CryptoKeyVersionTemplate) DeepCopy ¶
func (in *CryptoKeyVersionTemplate) DeepCopy() *CryptoKeyVersionTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyVersionTemplate.
func (*CryptoKeyVersionTemplate) DeepCopyInto ¶
func (in *CryptoKeyVersionTemplate) DeepCopyInto(out *CryptoKeyVersionTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Digest ¶
type Digest struct { // A message digest produced with the SHA-256 algorithm. Sha256 *[]byte `json:"sha256,omitempty"` // A message digest produced with the SHA-384 algorithm. Sha384 *[]byte `json:"sha384,omitempty"` // A message digest produced with the SHA-512 algorithm. Sha512 *[]byte `json:"sha512,omitempty"` }
+kcc:proto=google.cloud.kms.v1.Digest
func (*Digest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Digest.
func (*Digest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EkmConfig ¶
type EkmConfig struct { // Output only. The resource name for the // [EkmConfig][google.cloud.kms.v1.EkmConfig] in the format // `projects/*/locations/*/ekmConfig`. Name *string `json:"name,omitempty"` // Optional. Resource name of the default // [EkmConnection][google.cloud.kms.v1.EkmConnection]. Setting this field to // the empty string removes the default. DefaultEkmConnection *string `json:"defaultEkmConnection,omitempty"` }
+kcc:proto=google.cloud.kms.v1.EkmConfig
func (*EkmConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConfig.
func (*EkmConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EkmConnection ¶
type EkmConnection struct { // Output only. The resource name for the // [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format // `projects/*/locations/*/ekmConnections/*`. Name *string `json:"name,omitempty"` // Output only. The time at which the // [EkmConnection][google.cloud.kms.v1.EkmConnection] was created. CreateTime *string `json:"createTime,omitempty"` // A list of // [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where // the EKM can be reached. There should be one ServiceResolver per EKM // replica. Currently, only a single // [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is // supported. ServiceResolvers []EkmConnection_ServiceResolver `json:"serviceResolvers,omitempty"` // Optional. Etag of the currently stored // [EkmConnection][google.cloud.kms.v1.EkmConnection]. Etag *string `json:"etag,omitempty"` // Optional. Describes who can perform control plane operations on the EKM. If // unset, this defaults to // [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL]. KeyManagementMode *string `json:"keyManagementMode,omitempty"` // Optional. Identifies the EKM Crypto Space that this // [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This // field is required if // [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is // [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS]. CryptoSpacePath *string `json:"cryptoSpacePath,omitempty"` }
+kcc:proto=google.cloud.kms.v1.EkmConnection
func (*EkmConnection) DeepCopy ¶
func (in *EkmConnection) DeepCopy() *EkmConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConnection.
func (*EkmConnection) DeepCopyInto ¶
func (in *EkmConnection) DeepCopyInto(out *EkmConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EkmConnection_ServiceResolver ¶
type EkmConnection_ServiceResolver struct { // Required. The resource name of the Service Directory service pointing to // an EKM replica, in the format // `projects/*/locations/*/namespaces/*/services/*`. ServiceDirectoryService *string `json:"serviceDirectoryService,omitempty"` // Optional. The filter applied to the endpoints of the resolved service. If // no filter is specified, all endpoints will be considered. An endpoint // will be chosen arbitrarily from the filtered list for each request. // // For endpoint filter syntax and examples, see // https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. EndpointFilter *string `json:"endpointFilter,omitempty"` // Required. The hostname of the EKM replica used at TLS and HTTP layers. Hostname *string `json:"hostname,omitempty"` // Required. A list of leaf server certificates used to authenticate HTTPS // connections to the EKM replica. Currently, a maximum of 10 // [Certificate][google.cloud.kms.v1.Certificate] is supported. ServerCertificates []Certificate `json:"serverCertificates,omitempty"` }
+kcc:proto=google.cloud.kms.v1.EkmConnection.ServiceResolver
func (*EkmConnection_ServiceResolver) DeepCopy ¶
func (in *EkmConnection_ServiceResolver) DeepCopy() *EkmConnection_ServiceResolver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConnection_ServiceResolver.
func (*EkmConnection_ServiceResolver) DeepCopyInto ¶
func (in *EkmConnection_ServiceResolver) DeepCopyInto(out *EkmConnection_ServiceResolver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalProtectionLevelOptions ¶
type ExternalProtectionLevelOptions struct { // The URI for an external resource that this // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents. ExternalKeyUri *string `json:"externalKeyUri,omitempty"` // The path to the external key material on the EKM when using // [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set // this field instead of external_key_uri when using an // [EkmConnection][google.cloud.kms.v1.EkmConnection]. EkmConnectionKeyPath *string `json:"ekmConnectionKeyPath,omitempty"` }
+kcc:proto=google.cloud.kms.v1.ExternalProtectionLevelOptions
func (*ExternalProtectionLevelOptions) DeepCopy ¶
func (in *ExternalProtectionLevelOptions) DeepCopy() *ExternalProtectionLevelOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalProtectionLevelOptions.
func (*ExternalProtectionLevelOptions) DeepCopyInto ¶
func (in *ExternalProtectionLevelOptions) DeepCopyInto(out *ExternalProtectionLevelOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportJob ¶
type ImportJob struct { // Output only. The resource name for this // [ImportJob][google.cloud.kms.v1.ImportJob] in the format // `projects/*/locations/*/keyRings/*/importJobs/*`. Name *string `json:"name,omitempty"` // Required. Immutable. The wrapping method to be used for incoming key // material. ImportMethod *string `json:"importMethod,omitempty"` // Required. Immutable. The protection level of the // [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] // of the [version_template][google.cloud.kms.v1.CryptoKey.version_template] // on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you attempt to import // into. ProtectionLevel *string `json:"protectionLevel,omitempty"` // Output only. The time at which this // [ImportJob][google.cloud.kms.v1.ImportJob] was created. CreateTime *string `json:"createTime,omitempty"` // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key // material was generated. GenerateTime *string `json:"generateTime,omitempty"` // Output only. The time at which this // [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for expiration and // can no longer be used to import key material. ExpireTime *string `json:"expireTime,omitempty"` // Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] // expired. Only present if [state][google.cloud.kms.v1.ImportJob.state] is // [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. ExpireEventTime *string `json:"expireEventTime,omitempty"` // Output only. The current state of the // [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can be used. State *string `json:"state,omitempty"` // Output only. The public key with which to wrap key material prior to // import. Only returned if [state][google.cloud.kms.v1.ImportJob.state] is // [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE]. PublicKey *ImportJob_WrappingPublicKey `json:"publicKey,omitempty"` // Output only. Statement that was generated and signed by the key creator // (for example, an HSM) at key creation time. Use this statement to verify // attributes of the key as stored on the HSM, independently of Google. // Only present if the chosen // [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a // protection level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. Attestation *KeyOperationAttestation `json:"attestation,omitempty"` }
+kcc:proto=google.cloud.kms.v1.ImportJob
func (*ImportJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJob.
func (*ImportJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportJob_WrappingPublicKey ¶
type ImportJob_WrappingPublicKey struct { // The public key, encoded in PEM format. For more information, see the [RFC // 7468](https://tools.ietf.org/html/rfc7468) sections for [General // Considerations](https://tools.ietf.org/html/rfc7468#section-2) and // [Textual Encoding of Subject Public Key Info] // (https://tools.ietf.org/html/rfc7468#section-13). Pem *string `json:"pem,omitempty"` }
+kcc:proto=google.cloud.kms.v1.ImportJob.WrappingPublicKey
func (*ImportJob_WrappingPublicKey) DeepCopy ¶
func (in *ImportJob_WrappingPublicKey) DeepCopy() *ImportJob_WrappingPublicKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJob_WrappingPublicKey.
func (*ImportJob_WrappingPublicKey) DeepCopyInto ¶
func (in *ImportJob_WrappingPublicKey) DeepCopyInto(out *ImportJob_WrappingPublicKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSAutokeyConfig ¶ added in v1.126.0
type KMSAutokeyConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KMSAutokeyConfigSpec `json:"spec,omitempty"` Status KMSAutokeyConfigStatus `json:"status,omitempty"` }
KMSAutokeyConfig is the Schema for the KMSAutokeyConfig API +k8s:openapi-gen=true +kubebuilder:storageversion
func (*KMSAutokeyConfig) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfig) DeepCopy() *KMSAutokeyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfig.
func (*KMSAutokeyConfig) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfig) DeepCopyInto(out *KMSAutokeyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSAutokeyConfig) DeepCopyObject ¶ added in v1.126.0
func (in *KMSAutokeyConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSAutokeyConfigList ¶ added in v1.126.0
type KMSAutokeyConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KMSAutokeyConfig `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object KMSAutokeyConfigList contains a list of KMSAutokeyConfig
func (*KMSAutokeyConfigList) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigList) DeepCopy() *KMSAutokeyConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigList.
func (*KMSAutokeyConfigList) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigList) DeepCopyInto(out *KMSAutokeyConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSAutokeyConfigList) DeepCopyObject ¶ added in v1.126.0
func (in *KMSAutokeyConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSAutokeyConfigObservedState ¶ added in v1.126.0
type KMSAutokeyConfigObservedState struct { // Output only. Current state of this AutokeyConfig. // +optional State *string `json:"state,omitempty"` }
KMSAutokeyConfigSpec defines the desired state of KMSAutokeyConfig +kcc:proto=google.cloud.kms.v1.AutokeyConfig
func (*KMSAutokeyConfigObservedState) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigObservedState) DeepCopy() *KMSAutokeyConfigObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigObservedState.
func (*KMSAutokeyConfigObservedState) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigObservedState) DeepCopyInto(out *KMSAutokeyConfigObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSAutokeyConfigParent ¶ added in v1.126.0
type KMSAutokeyConfigParent struct {
FolderID string
}
func ParseKMSAutokeyConfigExternal ¶ added in v1.126.0
func ParseKMSAutokeyConfigExternal(external string) (parent *KMSAutokeyConfigParent, err error)
func (*KMSAutokeyConfigParent) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigParent) DeepCopy() *KMSAutokeyConfigParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigParent.
func (*KMSAutokeyConfigParent) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigParent) DeepCopyInto(out *KMSAutokeyConfigParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSAutokeyConfigParent) String ¶ added in v1.126.0
func (p *KMSAutokeyConfigParent) String() string
type KMSAutokeyConfigRef ¶ added in v1.126.0
type KMSAutokeyConfigRef struct { // A reference to an externally managed KMSAutokeyConfig resource. // Should be in the format "folders/<folderID>/autokeyConfig". External string `json:"external,omitempty"` // The name of a KMSAutokeyConfig resource. Name string `json:"name,omitempty"` // The namespace of a KMSAutokeyConfig resource. Namespace string `json:"namespace,omitempty"` // contains filtered or unexported fields }
KMSAutokeyConfigRef defines the resource reference to KMSAutokeyConfig, which "External" field holds the GCP identifier for the KRM object.
func NewKMSAutokeyConfigRef ¶ added in v1.126.0
func NewKMSAutokeyConfigRef(ctx context.Context, reader client.Reader, obj *KMSAutokeyConfig) (*KMSAutokeyConfigRef, error)
New builds a KMSAutokeyConfigRef from the Config Connector KMSAutokeyConfig object.
func (*KMSAutokeyConfigRef) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigRef) DeepCopy() *KMSAutokeyConfigRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigRef.
func (*KMSAutokeyConfigRef) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigRef) DeepCopyInto(out *KMSAutokeyConfigRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSAutokeyConfigRef) NormalizedExternal ¶ added in v1.126.0
func (r *KMSAutokeyConfigRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on KMSAutokeyConfig. If the "External" is given in the other resource's spec.KMSAutokeyConfigRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual KMSAutokeyConfig object from the cluster.
func (*KMSAutokeyConfigRef) Parent ¶ added in v1.126.0
func (r *KMSAutokeyConfigRef) Parent() (*KMSAutokeyConfigParent, error)
type KMSAutokeyConfigSpec ¶ added in v1.126.0
type KMSAutokeyConfigSpec struct { // Immutable. The folder that this resource belongs to. // +required FolderRef *refs.FolderRef `json:"folderRef"` // +optional KeyProjectRef *refs.ProjectRef `json:"keyProject,omitempty"` }
KMSAutokeyConfigSpec defines the desired state of KMSAutokeyConfig +kcc:proto=google.cloud.kms.v1.AutokeyConfig
func (*KMSAutokeyConfigSpec) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigSpec) DeepCopy() *KMSAutokeyConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigSpec.
func (*KMSAutokeyConfigSpec) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigSpec) DeepCopyInto(out *KMSAutokeyConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSAutokeyConfigStatus ¶ added in v1.126.0
type KMSAutokeyConfigStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the KMSAutokeyConfig resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *KMSAutokeyConfigObservedState `json:"observedState,omitempty"` }
KMSAutokeyConfigStatus defines the config connector machine state of KMSAutokeyConfig
func (*KMSAutokeyConfigStatus) DeepCopy ¶ added in v1.126.0
func (in *KMSAutokeyConfigStatus) DeepCopy() *KMSAutokeyConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigStatus.
func (*KMSAutokeyConfigStatus) DeepCopyInto ¶ added in v1.126.0
func (in *KMSAutokeyConfigStatus) DeepCopyInto(out *KMSAutokeyConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSKeyHandle ¶ added in v1.126.0
type KMSKeyHandle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec KMSKeyHandleSpec `json:"spec,omitempty"` Status KMSKeyHandleStatus `json:"status,omitempty"` }
KMSKeyHandle is the Schema for the KMSKeyHandle API +k8s:openapi-gen=true +kubebuilder:storageversion
func (*KMSKeyHandle) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandle) DeepCopy() *KMSKeyHandle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandle.
func (*KMSKeyHandle) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandle) DeepCopyInto(out *KMSKeyHandle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyHandle) DeepCopyObject ¶ added in v1.126.0
func (in *KMSKeyHandle) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSKeyHandleList ¶ added in v1.126.0
type KMSKeyHandleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KMSKeyHandle `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object KMSKeyHandleList contains a list of KMSKeyHandle
func (*KMSKeyHandleList) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleList) DeepCopy() *KMSKeyHandleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleList.
func (*KMSKeyHandleList) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleList) DeepCopyInto(out *KMSKeyHandleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyHandleList) DeepCopyObject ¶ added in v1.126.0
func (in *KMSKeyHandleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSKeyHandleObservedState ¶ added in v1.126.0
type KMSKeyHandleObservedState struct {
KMSKey *string `json:"kmsKey,omitempty"`
}
KMSKeyHandleObservedState is the state of the KMSKeyHandle resource as most recently observed in GCP.
func (*KMSKeyHandleObservedState) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleObservedState) DeepCopy() *KMSKeyHandleObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleObservedState.
func (*KMSKeyHandleObservedState) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleObservedState) DeepCopyInto(out *KMSKeyHandleObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSKeyHandleParent ¶ added in v1.126.0
func AsKMSKeyHandleExternal_FromSpec ¶ added in v1.126.0
func AsKMSKeyHandleExternal_FromSpec(spec *KMSKeyHandleSpec) (parent *KMSKeyHandleParent, resourceID string, err error)
func ParseKMSKeyHandleExternal ¶ added in v1.126.0
func ParseKMSKeyHandleExternal(external string) (parent *KMSKeyHandleParent, resourceID string, err error)
func (*KMSKeyHandleParent) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleParent) DeepCopy() *KMSKeyHandleParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleParent.
func (*KMSKeyHandleParent) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleParent) DeepCopyInto(out *KMSKeyHandleParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyHandleParent) String ¶ added in v1.126.0
func (p *KMSKeyHandleParent) String() string
type KMSKeyHandleRef ¶ added in v1.126.0
type KMSKeyHandleRef struct { // A reference to an externally managed KMSKeyHandle resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/keyHandles/{{keyhandleID}}". External string `json:"external,omitempty"` // The name of a KMSKeyHandle resource. Name string `json:"name,omitempty"` // The namespace of a KMSKeyHandle resource. Namespace string `json:"namespace,omitempty"` // contains filtered or unexported fields }
KMSKeyHandleRef defines the resource reference to KMSKeyHandle, which "External" field holds the GCP identifier for the KRM object.
func NewKMSKeyHandleRef ¶ added in v1.126.0
func NewKMSKeyHandleRef(ctx context.Context, reader client.Reader, obj *KMSKeyHandle) (*KMSKeyHandleRef, error)
New builds a KMSKeyHandleRef from the Config Connector KMSKeyHandle object.
func (*KMSKeyHandleRef) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleRef) DeepCopy() *KMSKeyHandleRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleRef.
func (*KMSKeyHandleRef) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleRef) DeepCopyInto(out *KMSKeyHandleRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyHandleRef) KeyHandleID ¶ added in v1.126.0
func (r *KMSKeyHandleRef) KeyHandleID() (string, bool, error)
func (*KMSKeyHandleRef) NormalizedExternal ¶ added in v1.126.0
func (r *KMSKeyHandleRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on KMSKeyHandle. If the "External" is given in the other resource's spec.KMSKeyHandleRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual KMSKeyHandle object from the cluster.
func (*KMSKeyHandleRef) Parent ¶ added in v1.126.0
func (r *KMSKeyHandleRef) Parent() (*KMSKeyHandleParent, error)
type KMSKeyHandleSpec ¶ added in v1.126.0
type KMSKeyHandleSpec struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ResourceID field is immutable" // Immutable. // The KMS Key Handle ID used for resource creation or acquisition. // For creation: If specified, this value is used as the key handle ID. If not provided, a UUID will be generated and assigned as the key handle ID. // For acquisition: This field must be provided to identify the key handle resource to acquire. ResourceID *string `json:"resourceID,omitempty"` // Project hosting KMSKeyHandle ProjectRef *refs.ProjectRef `json:"projectRef,omitempty"` // Location name to create KeyHandle Location *string `json:"location,omitempty"` // Indicates the resource type that the resulting [CryptoKey][] is meant to // protect, e.g. `{SERVICE}.googleapis.com/{TYPE}`. See documentation for // supported resource types https://cloud.google.com/kms/docs/autokey-overview#compatible-services. ResourceTypeSelector *string `json:"resourceTypeSelector,omitempty"` }
KMSKeyHandleSpec defines the desired state of KMSKeyHandle +kcc:proto=google.cloud.kms.v1.KeyHandle
func (*KMSKeyHandleSpec) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleSpec) DeepCopy() *KMSKeyHandleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleSpec.
func (*KMSKeyHandleSpec) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleSpec) DeepCopyInto(out *KMSKeyHandleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSKeyHandleStatus ¶ added in v1.126.0
type KMSKeyHandleStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the KMSKeyHandle resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *KMSKeyHandleObservedState `json:"observedState,omitempty"` }
KMSKeyHandleStatus defines the config connector machine state of KMSKeyHandle
func (*KMSKeyHandleStatus) DeepCopy ¶ added in v1.126.0
func (in *KMSKeyHandleStatus) DeepCopy() *KMSKeyHandleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleStatus.
func (*KMSKeyHandleStatus) DeepCopyInto ¶ added in v1.126.0
func (in *KMSKeyHandleStatus) DeepCopyInto(out *KMSKeyHandleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSKeyRing ¶
type KMSKeyRing struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec KMSKeyRingSpec `json:"spec,omitempty"` Status KMSKeyRingStatus `json:"status,omitempty"` }
KMSKeyRing represents a KMS KeyRing. +k8s:openapi-gen=true
func (*KMSKeyRing) DeepCopy ¶
func (in *KMSKeyRing) DeepCopy() *KMSKeyRing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRing.
func (*KMSKeyRing) DeepCopyInto ¶
func (in *KMSKeyRing) DeepCopyInto(out *KMSKeyRing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyRing) DeepCopyObject ¶
func (in *KMSKeyRing) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSKeyRingList ¶
type KMSKeyRingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KMSKeyRing `json:"items"` }
KMSKeyRingList contains a list of KMSKeyRing
func (*KMSKeyRingList) DeepCopy ¶
func (in *KMSKeyRingList) DeepCopy() *KMSKeyRingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingList.
func (*KMSKeyRingList) DeepCopyInto ¶
func (in *KMSKeyRingList) DeepCopyInto(out *KMSKeyRingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KMSKeyRingList) DeepCopyObject ¶
func (in *KMSKeyRingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KMSKeyRingSpec ¶
type KMSKeyRingSpec struct { /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` // Immutable. The location for the KeyRing. // A full list of valid locations can be found by running 'gcloud kms locations list'. // +required Location *string `json:"location,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyRing
func (*KMSKeyRingSpec) DeepCopy ¶
func (in *KMSKeyRingSpec) DeepCopy() *KMSKeyRingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingSpec.
func (*KMSKeyRingSpec) DeepCopyInto ¶
func (in *KMSKeyRingSpec) DeepCopyInto(out *KMSKeyRingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KMSKeyRingStatus ¶
type KMSKeyRingStatus struct { /* Conditions represent the latest available observations of the KMSKeyRing's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // The self link of the created KeyRing in the format projects/{project}/locations/{location}/keyRings/{name}. SelfLink *string `json:"selfLink,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyRing
func (*KMSKeyRingStatus) DeepCopy ¶
func (in *KMSKeyRingStatus) DeepCopy() *KMSKeyRingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingStatus.
func (*KMSKeyRingStatus) DeepCopyInto ¶
func (in *KMSKeyRingStatus) DeepCopyInto(out *KMSKeyRingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyAccessJustificationsPolicy ¶
type KeyAccessJustificationsPolicy struct { // The list of allowed reasons for access to a // [CryptoKey][google.cloud.kms.v1.CryptoKey]. Zero allowed access reasons // means all encrypt, decrypt, and sign operations for the // [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with this policy will // fail. AllowedAccessReasons []string `json:"allowedAccessReasons,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyAccessJustificationsPolicy
func (*KeyAccessJustificationsPolicy) DeepCopy ¶
func (in *KeyAccessJustificationsPolicy) DeepCopy() *KeyAccessJustificationsPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyAccessJustificationsPolicy.
func (*KeyAccessJustificationsPolicy) DeepCopyInto ¶
func (in *KeyAccessJustificationsPolicy) DeepCopyInto(out *KeyAccessJustificationsPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyHandle ¶
type KeyHandle struct { // Identifier. Name of the [KeyHandle][google.cloud.kms.v1.KeyHandle] // resource, e.g. // `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. Name *string `json:"name,omitempty"` // Output only. Name of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that has // been provisioned for Customer Managed Encryption Key (CMEK) use in the // [KeyHandle][google.cloud.kms.v1.KeyHandle] project and location for the // requested resource type. The [CryptoKey][google.cloud.kms.v1.CryptoKey] // project will reflect the value configured in the // [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] on the resource // project's ancestor folder at the time of the // [KeyHandle][google.cloud.kms.v1.KeyHandle] creation. If more than one // ancestor folder has a configured // [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig], the nearest of these // configurations is used. KmsKey *string `json:"kmsKey,omitempty"` // Required. Indicates the resource type that the resulting // [CryptoKey][google.cloud.kms.v1.CryptoKey] is meant to protect, e.g. // `{SERVICE}.googleapis.com/{TYPE}`. See documentation for supported resource // types. ResourceTypeSelector *string `json:"resourceTypeSelector,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyHandle
func (*KeyHandle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyHandle.
func (*KeyHandle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyOperationAttestation ¶
type KeyOperationAttestation struct { // Output only. The format of the attestation data. Format *string `json:"format,omitempty"` // Output only. The attestation data provided by the HSM when the key // operation was performed. Content *[]byte `json:"content,omitempty"` // Output only. The certificate chains needed to validate the attestation CertChains *KeyOperationAttestation_CertificateChains `json:"certChains,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyOperationAttestation
func (*KeyOperationAttestation) DeepCopy ¶
func (in *KeyOperationAttestation) DeepCopy() *KeyOperationAttestation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyOperationAttestation.
func (*KeyOperationAttestation) DeepCopyInto ¶
func (in *KeyOperationAttestation) DeepCopyInto(out *KeyOperationAttestation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyOperationAttestation_CertificateChains ¶
type KeyOperationAttestation_CertificateChains struct { // Cavium certificate chain corresponding to the attestation. CaviumCerts []string `json:"caviumCerts,omitempty"` // Google card certificate chain corresponding to the attestation. GoogleCardCerts []string `json:"googleCardCerts,omitempty"` // Google partition certificate chain corresponding to the attestation. GooglePartitionCerts []string `json:"googlePartitionCerts,omitempty"` }
+kcc:proto=google.cloud.kms.v1.KeyOperationAttestation.CertificateChains
func (*KeyOperationAttestation_CertificateChains) DeepCopy ¶
func (in *KeyOperationAttestation_CertificateChains) DeepCopy() *KeyOperationAttestation_CertificateChains
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyOperationAttestation_CertificateChains.
func (*KeyOperationAttestation_CertificateChains) DeepCopyInto ¶
func (in *KeyOperationAttestation_CertificateChains) DeepCopyInto(out *KeyOperationAttestation_CertificateChains)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationMetadata ¶
type LocationMetadata struct { // Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this // location. HsmAvailable *bool `json:"hsmAvailable,omitempty"` // Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] // [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in // this location. EkmAvailable *bool `json:"ekmAvailable,omitempty"` }
+kcc:proto=google.cloud.kms.v1.LocationMetadata
func (*LocationMetadata) DeepCopy ¶
func (in *LocationMetadata) DeepCopy() *LocationMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationMetadata.
func (*LocationMetadata) DeepCopyInto ¶
func (in *LocationMetadata) DeepCopyInto(out *LocationMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicKey ¶
type PublicKey struct { // The public key, encoded in PEM format. For more information, see the // [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for // [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and // [Textual Encoding of Subject Public Key Info] // (https://tools.ietf.org/html/rfc7468#section-13). Pem *string `json:"pem,omitempty"` // The // [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] // associated with this key. Algorithm *string `json:"algorithm,omitempty"` // Integrity verification field. A CRC32C checksum of the returned // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by // computing the CRC32C checksum of // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your // results to this field. Discard the response in case of non-matching // checksum values, and perform a limited number of retries. A persistent // mismatch may indicate an issue in your computation of the CRC32C checksum. // Note: This field is defined as int64 for reasons of compatibility across // different languages. However, it is a non-negative integer, which will // never exceed 2^32-1, and can be safely downconverted to uint32 in languages // that support this type. // // NOTE: This field is in Beta. PemCrc32c *int64 `json:"pemCrc32c,omitempty"` // The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. // Provided here for verification. // // NOTE: This field is in Beta. Name *string `json:"name,omitempty"` // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key. ProtectionLevel *string `json:"protectionLevel,omitempty"` }
+kcc:proto=google.cloud.kms.v1.PublicKey
func (*PublicKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey.
func (*PublicKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.