kms

package
v0.0.0-...-7000f67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: MPL-2.0 Imports: 22 Imported by: 0

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

Index

Constants

This section is empty.

Variables

View Source
var IamKmsCryptoKeySchema = map[string]*schema.Schema{
	"crypto_key_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamKmsKeyRingSchema = map[string]*schema.Schema{
	"key_ring_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}

Functions

func CryptoIdParseFunc

func CryptoIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func DataSourceGoogleKmsCryptoKey

func DataSourceGoogleKmsCryptoKey() *schema.Resource

func DataSourceGoogleKmsCryptoKeyVersion

func DataSourceGoogleKmsCryptoKeyVersion() *schema.Resource

func DataSourceGoogleKmsKeyRing

func DataSourceGoogleKmsKeyRing() *schema.Resource

func DataSourceGoogleKmsSecret

func DataSourceGoogleKmsSecret() *schema.Resource

func DataSourceGoogleKmsSecretAsymmetric

func DataSourceGoogleKmsSecretAsymmetric() *schema.Resource

func DataSourceGoogleKmsSecretCiphertext

func DataSourceGoogleKmsSecretCiphertext() *schema.Resource

func KeyRingIdParseFunc

func KeyRingIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func ResourceKMSCryptoKey

func ResourceKMSCryptoKey() *schema.Resource

func ResourceKMSCryptoKeyUpgradeV0

func ResourceKMSCryptoKeyUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceKMSCryptoKeyVersion

func ResourceKMSCryptoKeyVersion() *schema.Resource

func ResourceKMSKeyRing

func ResourceKMSKeyRing() *schema.Resource

func ResourceKMSKeyRingImportJob

func ResourceKMSKeyRingImportJob() *schema.Resource

func ResourceKMSSecretCiphertext

func ResourceKMSSecretCiphertext() *schema.Resource

Types

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

type KmsKeyRingId struct {
	Project  string
	Location string
	Name     string
}

func (*KmsKeyRingId) KeyRingId

func (s *KmsKeyRingId) KeyRingId() string

func (*KmsKeyRingId) TerraformId

func (s *KmsKeyRingId) TerraformId() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL