Documentation ¶
Index ¶
- Constants
- func DataSourceDewCsmsSecret() *schema.Resource
- func DataSourceKeypairs() *schema.Resource
- func DataSourceKmsDataKeyV1() *schema.Resource
- func DataSourceKmsKey() *schema.Resource
- func ResourceCsmsEvent() *schema.Resource
- func ResourceCsmsSecret() *schema.Resource
- func ResourceKeypair() *schema.Resource
- func ResourceKmsDedicatedKeystore() *schema.Resource
- func ResourceKmsGrant() *schema.Resource
- func ResourceKmsKey() *schema.Resource
- func ResourceKmsKeyCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceKmsKeyDelete(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceKmsKeyRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceKmsKeyUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
Constants ¶
const ( WaitingForEnableState = "1" EnabledState = "2" DisabledState = "3" PendingDeletionState = "4" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceDewCsmsSecret ¶
@API DEW GET /v1/{project_id}/secrets/{secret_name}/versions @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions/{version_id}
func DataSourceKeypairs ¶ added in v1.40.0
@API DEW GET /v3/{project_id}/keypairs
func DataSourceKmsDataKeyV1 ¶ added in v1.55.0
@API DEW POST /v1.0/{project_id}/kms/create-datakey
func DataSourceKmsKey ¶ added in v1.44.2
@API DEW POST /v1.0/{project_id}/kms/list-keys @API DEW POST /v1.0/{project_id}/kms/get-key-rotation-status @API DEW GET /v1.0/{project_id}/kms/{key_id}/tags
func ResourceCsmsEvent ¶ added in v1.58.0
@API DEW POST /v1/{project_id}/csms/events @API DEW GET /v1/{project_id}/csms/events/{event_name} @API DEW PUT /v1/{project_id}/csms/events/{event_name} @API DEW DELETE /v1/{project_id}/csms/events/{event_name}
func ResourceCsmsSecret ¶
@API DEW POST /v1/{project_id}/secrets @API DEW POST /v1/{project_id}/{resourceType}/{id}/tags/action @API DEW GET /v1/{project_id}/secrets/{secret_name} @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions @API DEW GET /v1/{project_id}/secrets/{secret_name}/versions/{version_id} @API DEW GET /v1/{project_id}/{resourceType}/{id}/tags @API DEW PUT /v1/{project_id}/secrets/{secret_name} @API DEW POST /v1/{project_id}/secrets/{secret_name}/versions @API DEW DELETE /v1/{project_id}/secrets/{secret_name}
func ResourceKeypair ¶ added in v1.35.0
@API DEW POST /v3/{project_id}/keypairs @API DEW PUT /v3/{project_id}/keypairs/{keypair_name} @API DEW GET /v3/{project_id}/keypairs/{keypair_name} @API DEW DELETE /v3/{project_id}/keypairs/{keypair_name}
func ResourceKmsDedicatedKeystore ¶ added in v1.58.0
@API DEW POST /v1.0/{project_id}/keystores @API DEW GET /v1.0/{project_id}/keystores/{keystore_id} @API DEW DELETE /v1.0/{project_id}/keystores/{keystore_id}
func ResourceKmsGrant ¶ added in v1.45.0
@API DEW POST /v1.0/{project_id}/kms/create-grant @API DEW POST /v1.0/{project_id}/kms/list-grants @API DEW POST /v1.0/{project_id}/kms/revoke-grant
func ResourceKmsKey ¶ added in v1.44.2
@API DEW POST /v1.0/{project_id}/kms/create-key @API DEW POST /v1.0/{project_id}/kms/disable-key @API DEW POST /v1.0/{project_id}/{resourceType}/{id}/tags/action @API DEW POST /v1.0/{project_id}/kms/enable-key-rotation @API DEW POST /v1.0/{project_id}/kms/update-key-rotation-interval @API DEW POST /v1.0/{project_id}/kms/describe-key @API DEW GET /v1.0/{project_id}/{resourceType}/{id}/tags @API DEW POST /v1.0/{project_id}/kms/get-key-rotation-status @API DEW POST /v1.0/{project_id}/kms/update-key-alias @API DEW POST /v1.0/{project_id}/kms/update-key-description @API DEW POST /v1.0/{project_id}/kms/enable-key @API DEW POST /v1.0/{project_id}/kms/disable-key-rotation @API DEW POST /v1.0/{project_id}/kms/schedule-key-deletion
func ResourceKmsKeyCreate ¶ added in v1.44.2
func ResourceKmsKeyCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ResourceKmsKeyDelete ¶ added in v1.44.2
func ResourceKmsKeyDelete(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ResourceKmsKeyRead ¶ added in v1.44.2
func ResourceKmsKeyRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func ResourceKmsKeyUpdate ¶ added in v1.44.2
func ResourceKmsKeyUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
Types ¶
This section is empty.
Source Files ¶
- data_source_huaweicloud_csms_secret_version.go
- data_source_huaweicloud_kms_data_key.go
- data_source_huaweicloud_kms_key.go
- data_source_huaweicloud_kps_keypairs.go
- resource_huaweicloud_csms_event.go
- resource_huaweicloud_csms_secret.go
- resource_huaweicloud_kms_dedicated_keystore.go
- resource_huaweicloud_kms_grant.go
- resource_huaweicloud_kms_key.go
- resource_huaweicloud_kps_keypair.go