Documentation ¶
Overview ¶
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Index ¶
- Variables
- func CryptoIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func DataSourceGoogleKmsCryptoKey() *schema.Resource
- func DataSourceGoogleKmsCryptoKeyVersion() *schema.Resource
- func DataSourceGoogleKmsCryptoKeyVersions() *schema.Resource
- func DataSourceGoogleKmsCryptoKeys() *schema.Resource
- func DataSourceGoogleKmsKeyRing() *schema.Resource
- func DataSourceGoogleKmsKeyRings() *schema.Resource
- func DataSourceGoogleKmsLatestCryptoKeyVersion() *schema.Resource
- func DataSourceGoogleKmsSecret() *schema.Resource
- func DataSourceGoogleKmsSecretCiphertext() *schema.Resource
- func KMSEkmConnectionIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func KMSEkmConnectionIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func KMSOperationWaitTime(config *transport_tpg.Config, op map[string]interface{}, ...) error
- func KMSOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, ...) error
- func KeyRingIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func NewKmsCryptoKeyIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewKmsKeyRingIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func ResourceKMSCryptoKey() *schema.Resource
- func ResourceKMSCryptoKeyUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- func ResourceKMSCryptoKeyVersion() *schema.Resource
- func ResourceKMSEkmConnection() *schema.Resource
- func ResourceKMSKeyRing() *schema.Resource
- func ResourceKMSKeyRingImportJob() *schema.Resource
- func ResourceKMSSecretCiphertext() *schema.Resource
- type KMSEkmConnectionIamUpdater
- func (u *KMSEkmConnectionIamUpdater) DescribeResource() string
- func (u *KMSEkmConnectionIamUpdater) GetMutexKey() string
- func (u *KMSEkmConnectionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KMSEkmConnectionIamUpdater) GetResourceId() string
- func (u *KMSEkmConnectionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KMSOperationWaiter
- type KmsCryptoKeyIamUpdater
- func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
- func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
- func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
- func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsCryptoKeyId
- type KmsKeyRingIamUpdater
- func (u *KmsKeyRingIamUpdater) DescribeResource() string
- func (u *KmsKeyRingIamUpdater) GetMutexKey() string
- func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsKeyRingIamUpdater) GetResourceId() string
- func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsKeyRingId
Constants ¶
This section is empty.
Variables ¶
var IamKmsCryptoKeySchema = map[string]*schema.Schema{ "crypto_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKmsKeyRingSchema = map[string]*schema.Schema{ "key_ring_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var KMSEkmConnectionIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func CryptoIdParseFunc ¶
func CryptoIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func KMSEkmConnectionIamUpdaterProducer ¶
func KMSEkmConnectionIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func KMSEkmConnectionIdParseFunc ¶
func KMSEkmConnectionIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func KMSOperationWaitTime ¶
func KMSOperationWaitTimeWithResponse ¶
func KMSOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, response *map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error
nolint: deadcode,unused
func KeyRingIdParseFunc ¶
func KeyRingIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func NewKmsCryptoKeyIamUpdater ¶
func NewKmsCryptoKeyIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewKmsKeyRingIamUpdater ¶
func NewKmsKeyRingIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func ResourceKMSCryptoKey ¶
func ResourceKMSKeyRing ¶
Types ¶
type KMSEkmConnectionIamUpdater ¶
type KMSEkmConnectionIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*KMSEkmConnectionIamUpdater) DescribeResource ¶
func (u *KMSEkmConnectionIamUpdater) DescribeResource() string
func (*KMSEkmConnectionIamUpdater) GetMutexKey ¶
func (u *KMSEkmConnectionIamUpdater) GetMutexKey() string
func (*KMSEkmConnectionIamUpdater) GetResourceIamPolicy ¶
func (u *KMSEkmConnectionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KMSEkmConnectionIamUpdater) GetResourceId ¶
func (u *KMSEkmConnectionIamUpdater) GetResourceId() string
func (*KMSEkmConnectionIamUpdater) SetResourceIamPolicy ¶
func (u *KMSEkmConnectionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KMSOperationWaiter ¶
type KMSOperationWaiter struct { Config *transport_tpg.Config UserAgent string Project string tpgresource.CommonOperationWaiter }
func (*KMSOperationWaiter) QueryOp ¶
func (w *KMSOperationWaiter) QueryOp() (interface{}, error)
type KmsCryptoKeyIamUpdater ¶
type KmsCryptoKeyIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*KmsCryptoKeyIamUpdater) DescribeResource ¶
func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
func (*KmsCryptoKeyIamUpdater) GetMutexKey ¶
func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
func (*KmsCryptoKeyIamUpdater) GetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsCryptoKeyIamUpdater) GetResourceId ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
func (*KmsCryptoKeyIamUpdater) SetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsCryptoKeyId ¶
type KmsCryptoKeyId struct { KeyRingId KmsKeyRingId Name string }
func ParseKmsCryptoKeyId ¶
func ParseKmsCryptoKeyId(id string, config *transport_tpg.Config) (*KmsCryptoKeyId, error)
func (*KmsCryptoKeyId) CryptoKeyId ¶
func (s *KmsCryptoKeyId) CryptoKeyId() string
func (*KmsCryptoKeyId) TerraformId ¶
func (s *KmsCryptoKeyId) TerraformId() string
type KmsKeyRingIamUpdater ¶
type KmsKeyRingIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*KmsKeyRingIamUpdater) DescribeResource ¶
func (u *KmsKeyRingIamUpdater) DescribeResource() string
func (*KmsKeyRingIamUpdater) GetMutexKey ¶
func (u *KmsKeyRingIamUpdater) GetMutexKey() string
func (*KmsKeyRingIamUpdater) GetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsKeyRingIamUpdater) GetResourceId ¶
func (u *KmsKeyRingIamUpdater) GetResourceId() string
func (*KmsKeyRingIamUpdater) SetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsKeyRingId ¶
func (*KmsKeyRingId) KeyRingId ¶
func (s *KmsKeyRingId) KeyRingId() string
func (*KmsKeyRingId) TerraformId ¶
func (s *KmsKeyRingId) TerraformId() string
Source Files ¶
- data_source_google_kms_crypto_key.go
- data_source_google_kms_crypto_key_latest_version.go
- data_source_google_kms_crypto_key_version.go
- data_source_google_kms_crypto_key_versions.go
- data_source_google_kms_crypto_keys.go
- data_source_google_kms_key_ring.go
- data_source_google_kms_key_rings.go
- data_source_google_kms_secret.go
- data_source_google_kms_secret_asymmetric.go
- data_source_google_kms_secret_ciphertext.go
- iam_kms_crypto_key.go
- iam_kms_ekm_connection.go
- iam_kms_key_ring.go
- kms_operation.go
- kms_utils.go
- resource_kms_autokey_config_sweeper.go
- resource_kms_crypto_key.go
- resource_kms_crypto_key_version.go
- resource_kms_ekm_connection.go
- resource_kms_key_ring.go
- resource_kms_key_ring_import_job.go
- resource_kms_key_ring_import_job_sweeper.go
- resource_kms_secret_ciphertext.go