Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateAlias(ctx context.Context, in *CreateAliasInput) (*CreateAliasOutput, error)
- func (c *Client) CreateKey(ctx context.Context, in *CreateKeyInput) (*CreateKeyOutput, error)
- func (c *Client) Decrypt(ctx context.Context, in *DecryptInput) (*DecryptOutput, error)
- func (c *Client) DescribeKey(ctx context.Context, in *DescribeKeyInput) (*DescribeKeyOutput, error)
- func (c *Client) DisableKey(ctx context.Context, in *DisableKeyInput) (*DisableKeyOutput, error)
- func (c *Client) DisableKeyRotation(ctx context.Context, in *DisableKeyRotationInput) (*DisableKeyRotationOutput, error)
- func (c *Client) EnableKey(ctx context.Context, in *EnableKeyInput) (*EnableKeyOutput, error)
- func (c *Client) EnableKeyRotation(ctx context.Context, in *EnableKeyRotationInput) (*EnableKeyRotationOutput, error)
- func (c *Client) GetKeyPolicy(ctx context.Context, in *GetKeyPolicyInput) (*GetKeyPolicyOutput, error)
- func (c *Client) GetKeyRotationStatus(ctx context.Context, in *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error)
- func (c *Client) ListAliases(ctx context.Context, in *ListAliasesInput) (*ListAliasesOutput, error)
- func (c *Client) ListKeys(ctx context.Context, in *ListKeysInput) (*ListKeysOutput, error)
- func (c *Client) ListResourceTags(ctx context.Context, in *ListResourceTagsInput) (*ListResourceTagsOutput, error)
- func (c *Client) PutKeyPolicy(ctx context.Context, in *PutKeyPolicyInput) (*PutKeyPolicyOutput, error)
- func (c *Client) ScheduleKeyDeletion(ctx context.Context, in *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error)
- func (c *Client) TagResource(ctx context.Context, in *TagResourceInput) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, in *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Client) UpdateAlias(ctx context.Context, in *UpdateAliasInput) (*UpdateAliasOutput, error)
- func (c *Client) UpdateKeyDescription(ctx context.Context, in *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error)
- type CreateAliasInput
- type CreateAliasOutput
- type CreateKeyInput
- type CreateKeyOutput
- type DecryptInput
- type DecryptOutput
- type DescribeKeyInput
- type DescribeKeyOutput
- type DisableKeyInput
- type DisableKeyOutput
- type DisableKeyRotationInput
- type DisableKeyRotationOutput
- type EnableKeyInput
- type EnableKeyOutput
- type EnableKeyRotationInput
- type EnableKeyRotationOutput
- type GetKeyPolicyInput
- type GetKeyPolicyOutput
- type GetKeyRotationStatusInput
- type GetKeyRotationStatusOutput
- type ListAliasesInput
- type ListAliasesOutput
- type ListAliasesPaginator
- type ListKeysInput
- type ListKeysOutput
- type ListKeysPaginator
- type ListResourceTagsInput
- type ListResourceTagsOutput
- type Options
- type PutKeyPolicyInput
- type PutKeyPolicyOutput
- type ScheduleKeyDeletionInput
- type ScheduleKeyDeletionOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAliasInput
- type UpdateAliasOutput
- type UpdateKeyDescriptionInput
- type UpdateKeyDescriptionOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client calls kms over its wire protocol.
func NewFromConfig ¶
NewFromConfig returns a Client for cfg.
func (*Client) CreateAlias ¶
func (c *Client) CreateAlias(ctx context.Context, in *CreateAliasInput) (*CreateAliasOutput, error)
CreateAlias calls the CreateAlias operation.
func (*Client) CreateKey ¶
func (c *Client) CreateKey(ctx context.Context, in *CreateKeyInput) (*CreateKeyOutput, error)
CreateKey calls the CreateKey operation.
func (*Client) Decrypt ¶
func (c *Client) Decrypt(ctx context.Context, in *DecryptInput) (*DecryptOutput, error)
Decrypt calls the Decrypt operation.
func (*Client) DescribeKey ¶
func (c *Client) DescribeKey(ctx context.Context, in *DescribeKeyInput) (*DescribeKeyOutput, error)
DescribeKey calls the DescribeKey operation.
func (*Client) DisableKey ¶
func (c *Client) DisableKey(ctx context.Context, in *DisableKeyInput) (*DisableKeyOutput, error)
DisableKey calls the DisableKey operation.
func (*Client) DisableKeyRotation ¶
func (c *Client) DisableKeyRotation(ctx context.Context, in *DisableKeyRotationInput) (*DisableKeyRotationOutput, error)
DisableKeyRotation calls the DisableKeyRotation operation.
func (*Client) EnableKey ¶
func (c *Client) EnableKey(ctx context.Context, in *EnableKeyInput) (*EnableKeyOutput, error)
EnableKey calls the EnableKey operation.
func (*Client) EnableKeyRotation ¶
func (c *Client) EnableKeyRotation(ctx context.Context, in *EnableKeyRotationInput) (*EnableKeyRotationOutput, error)
EnableKeyRotation calls the EnableKeyRotation operation.
func (*Client) GetKeyPolicy ¶
func (c *Client) GetKeyPolicy(ctx context.Context, in *GetKeyPolicyInput) (*GetKeyPolicyOutput, error)
GetKeyPolicy calls the GetKeyPolicy operation.
func (*Client) GetKeyRotationStatus ¶
func (c *Client) GetKeyRotationStatus(ctx context.Context, in *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error)
GetKeyRotationStatus calls the GetKeyRotationStatus operation.
func (*Client) ListAliases ¶
func (c *Client) ListAliases(ctx context.Context, in *ListAliasesInput) (*ListAliasesOutput, error)
ListAliases calls the ListAliases operation.
func (*Client) ListKeys ¶
func (c *Client) ListKeys(ctx context.Context, in *ListKeysInput) (*ListKeysOutput, error)
ListKeys calls the ListKeys operation.
func (*Client) ListResourceTags ¶
func (c *Client) ListResourceTags(ctx context.Context, in *ListResourceTagsInput) (*ListResourceTagsOutput, error)
ListResourceTags calls the ListResourceTags operation.
func (*Client) PutKeyPolicy ¶
func (c *Client) PutKeyPolicy(ctx context.Context, in *PutKeyPolicyInput) (*PutKeyPolicyOutput, error)
PutKeyPolicy calls the PutKeyPolicy operation.
func (*Client) ScheduleKeyDeletion ¶
func (c *Client) ScheduleKeyDeletion(ctx context.Context, in *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error)
ScheduleKeyDeletion calls the ScheduleKeyDeletion operation.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, in *TagResourceInput) (*TagResourceOutput, error)
TagResource calls the TagResource operation.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, in *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource calls the UntagResource operation.
func (*Client) UpdateAlias ¶
func (c *Client) UpdateAlias(ctx context.Context, in *UpdateAliasInput) (*UpdateAliasOutput, error)
UpdateAlias calls the UpdateAlias operation.
func (*Client) UpdateKeyDescription ¶
func (c *Client) UpdateKeyDescription(ctx context.Context, in *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error)
UpdateKeyDescription calls the UpdateKeyDescription operation.
type CreateAliasInput ¶
type CreateAliasOutput ¶
type CreateAliasOutput struct {
}
type CreateKeyInput ¶
type CreateKeyInput struct {
BypassPolicyLockoutSafetyCheck bool `json:",omitempty"`
CustomKeyStoreId *string
CustomerMasterKeySpec types.CustomerMasterKeySpec `json:",omitempty"`
Description *string
KeySpec types.KeySpec `json:",omitempty"`
KeyUsage types.KeyUsageType `json:",omitempty"`
MultiRegion *bool
Origin types.OriginType `json:",omitempty"`
Policy *string
Tags []types.Tag
XksKeyId *string
}
type CreateKeyOutput ¶
type CreateKeyOutput struct {
KeyMetadata *types.KeyMetadata
}
type DecryptInput ¶
type DecryptInput struct {
CiphertextBlob []byte
DryRun *bool
DryRunModifiers []types.DryRunModifierType
EncryptionAlgorithm types.EncryptionAlgorithmSpec `json:",omitempty"`
EncryptionContext map[string]string
GrantTokens []string
KeyId *string
Recipient *types.RecipientInfo
}
type DecryptOutput ¶
type DescribeKeyInput ¶
type DescribeKeyOutput ¶
type DescribeKeyOutput struct {
KeyMetadata *types.KeyMetadata
}
type DisableKeyInput ¶
type DisableKeyInput struct {
KeyId *string
}
type DisableKeyOutput ¶
type DisableKeyOutput struct {
}
type DisableKeyRotationInput ¶
type DisableKeyRotationInput struct {
KeyId *string
}
type DisableKeyRotationOutput ¶
type DisableKeyRotationOutput struct {
}
type EnableKeyInput ¶
type EnableKeyInput struct {
KeyId *string
}
type EnableKeyOutput ¶
type EnableKeyOutput struct {
}
type EnableKeyRotationInput ¶
type EnableKeyRotationOutput ¶
type EnableKeyRotationOutput struct {
}
type GetKeyPolicyInput ¶
type GetKeyPolicyOutput ¶
type GetKeyRotationStatusInput ¶
type GetKeyRotationStatusInput struct {
KeyId *string
}
type ListAliasesInput ¶
type ListAliasesOutput ¶
type ListAliasesOutput struct {
Aliases []types.AliasListEntry
NextMarker *string
Truncated bool
}
type ListAliasesPaginator ¶
type ListAliasesPaginator = awswire.Paginator[ListAliasesInput, ListAliasesOutput]
ListAliasesPaginator pages through ListAliases.
func NewListAliasesPaginator ¶
func NewListAliasesPaginator(c *Client, in *ListAliasesInput) *ListAliasesPaginator
NewListAliasesPaginator returns a paginator over ListAliases.
type ListKeysInput ¶
type ListKeysOutput ¶
type ListKeysOutput struct {
Keys []types.KeyListEntry
NextMarker *string
Truncated bool
}
type ListKeysPaginator ¶
type ListKeysPaginator = awswire.Paginator[ListKeysInput, ListKeysOutput]
ListKeysPaginator pages through ListKeys.
func NewListKeysPaginator ¶
func NewListKeysPaginator(c *Client, in *ListKeysInput) *ListKeysPaginator
NewListKeysPaginator returns a paginator over ListKeys.
type ListResourceTagsInput ¶
type ListResourceTagsOutput ¶
type PutKeyPolicyInput ¶
type PutKeyPolicyOutput ¶
type PutKeyPolicyOutput struct {
}
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct {
}
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct {
}
type UpdateAliasInput ¶
type UpdateAliasOutput ¶
type UpdateAliasOutput struct {
}
type UpdateKeyDescriptionOutput ¶
type UpdateKeyDescriptionOutput struct {
}