Versions in this module Expand all Collapse all v0 v0.6.0 Jun 3, 2015 Changes in this version + type AliasListEntry struct + AliasARN *string + AliasName *string + TargetKeyID *string + type CreateAliasInput struct + AliasName *string + TargetKeyID *string + type CreateAliasOutput struct + type CreateGrantInput struct + Constraints *GrantConstraints + GrantTokens []*string + GranteePrincipal *string + KeyID *string + Operations []*string + RetiringPrincipal *string + type CreateGrantOutput struct + GrantID *string + GrantToken *string + type CreateKeyInput struct + Description *string + KeyUsage *string + Policy *string + type CreateKeyOutput struct + KeyMetadata *KeyMetadata + type DecryptInput struct + CiphertextBlob []byte + EncryptionContext map[string]*string + GrantTokens []*string + type DecryptOutput struct + KeyID *string + Plaintext []byte + type DeleteAliasInput struct + AliasName *string + type DeleteAliasOutput struct + type DescribeKeyInput struct + KeyID *string + type DescribeKeyOutput struct + KeyMetadata *KeyMetadata + type DisableKeyInput struct + KeyID *string + type DisableKeyOutput struct + type DisableKeyRotationInput struct + KeyID *string + type DisableKeyRotationOutput struct + type EnableKeyInput struct + KeyID *string + type EnableKeyOutput struct + type EnableKeyRotationInput struct + KeyID *string + type EnableKeyRotationOutput struct + type EncryptInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyID *string + Plaintext []byte + type EncryptOutput struct + CiphertextBlob []byte + KeyID *string + type GenerateDataKeyInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyID *string + KeySpec *string + NumberOfBytes *int64 + type GenerateDataKeyOutput struct + CiphertextBlob []byte + KeyID *string + Plaintext []byte + type GenerateDataKeyWithoutPlaintextInput struct + EncryptionContext map[string]*string + GrantTokens []*string + KeyID *string + KeySpec *string + NumberOfBytes *int64 + type GenerateDataKeyWithoutPlaintextOutput struct + CiphertextBlob []byte + KeyID *string + type GenerateRandomInput struct + NumberOfBytes *int64 + type GenerateRandomOutput struct + Plaintext []byte + type GetKeyPolicyInput struct + KeyID *string + PolicyName *string + type GetKeyPolicyOutput struct + Policy *string + type GetKeyRotationStatusInput struct + KeyID *string + type GetKeyRotationStatusOutput struct + KeyRotationEnabled *bool + type GrantConstraints struct + EncryptionContextEquals map[string]*string + EncryptionContextSubset map[string]*string + type GrantListEntry struct + Constraints *GrantConstraints + GrantID *string + GranteePrincipal *string + IssuingAccount *string + Operations []*string + RetiringPrincipal *string + type KMS struct + func New(config *aws.Config) *KMS + func (c *KMS) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) + func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *aws.Request, output *CreateAliasOutput) + func (c *KMS) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error) + func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *aws.Request, output *CreateGrantOutput) + func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error) + func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *aws.Request, output *CreateKeyOutput) + func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error) + func (c *KMS) DecryptRequest(input *DecryptInput) (req *aws.Request, output *DecryptOutput) + func (c *KMS) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) + func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *aws.Request, output *DeleteAliasOutput) + func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error) + func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *aws.Request, output *DescribeKeyOutput) + func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error) + func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *aws.Request, output *DisableKeyOutput) + func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error) + func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *aws.Request, output *DisableKeyRotationOutput) + func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error) + func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *aws.Request, output *EnableKeyOutput) + func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error) + func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *aws.Request, output *EnableKeyRotationOutput) + func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error) + func (c *KMS) EncryptRequest(input *EncryptInput) (req *aws.Request, output *EncryptOutput) + func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error) + func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *aws.Request, output *GenerateDataKeyOutput) + func (c *KMS) GenerateDataKeyWithoutPlaintext(input *GenerateDataKeyWithoutPlaintextInput) (*GenerateDataKeyWithoutPlaintextOutput, error) + func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWithoutPlaintextInput) (req *aws.Request, output *GenerateDataKeyWithoutPlaintextOutput) + func (c *KMS) GenerateRandom(input *GenerateRandomInput) (*GenerateRandomOutput, error) + func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *aws.Request, output *GenerateRandomOutput) + func (c *KMS) GetKeyPolicy(input *GetKeyPolicyInput) (*GetKeyPolicyOutput, error) + func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *aws.Request, output *GetKeyPolicyOutput) + func (c *KMS) GetKeyRotationStatus(input *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error) + func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req *aws.Request, output *GetKeyRotationStatusOutput) + func (c *KMS) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) + func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *aws.Request, output *ListAliasesOutput) + func (c *KMS) ListGrants(input *ListGrantsInput) (*ListGrantsOutput, error) + func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *aws.Request, output *ListGrantsOutput) + func (c *KMS) ListKeyPolicies(input *ListKeyPoliciesInput) (*ListKeyPoliciesOutput, error) + func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *aws.Request, output *ListKeyPoliciesOutput) + func (c *KMS) ListKeys(input *ListKeysInput) (*ListKeysOutput, error) + func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *aws.Request, output *ListKeysOutput) + func (c *KMS) PutKeyPolicy(input *PutKeyPolicyInput) (*PutKeyPolicyOutput, error) + func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *aws.Request, output *PutKeyPolicyOutput) + func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error) + func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *aws.Request, output *ReEncryptOutput) + func (c *KMS) RetireGrant(input *RetireGrantInput) (*RetireGrantOutput, error) + func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *aws.Request, output *RetireGrantOutput) + func (c *KMS) RevokeGrant(input *RevokeGrantInput) (*RevokeGrantOutput, error) + func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *aws.Request, output *RevokeGrantOutput) + func (c *KMS) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error) + func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *aws.Request, output *UpdateAliasOutput) + func (c *KMS) UpdateKeyDescription(input *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error) + func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req *aws.Request, output *UpdateKeyDescriptionOutput) + type KeyListEntry struct + KeyARN *string + KeyID *string + type KeyMetadata struct + ARN *string + AWSAccountID *string + CreationDate *time.Time + Description *string + Enabled *bool + KeyID *string + KeyUsage *string + type ListAliasesInput struct + Limit *int64 + Marker *string + type ListAliasesOutput struct + Aliases []*AliasListEntry + NextMarker *string + Truncated *bool + type ListGrantsInput struct + KeyID *string + Limit *int64 + Marker *string + type ListGrantsOutput struct + Grants []*GrantListEntry + NextMarker *string + Truncated *bool + type ListKeyPoliciesInput struct + KeyID *string + Limit *int64 + Marker *string + type ListKeyPoliciesOutput struct + NextMarker *string + PolicyNames []*string + Truncated *bool + type ListKeysInput struct + Limit *int64 + Marker *string + type ListKeysOutput struct + Keys []*KeyListEntry + NextMarker *string + Truncated *bool + type PutKeyPolicyInput struct + KeyID *string + Policy *string + PolicyName *string + type PutKeyPolicyOutput struct + type ReEncryptInput struct + CiphertextBlob []byte + DestinationEncryptionContext map[string]*string + DestinationKeyID *string + GrantTokens []*string + SourceEncryptionContext map[string]*string + type ReEncryptOutput struct + CiphertextBlob []byte + KeyID *string + SourceKeyID *string + type RetireGrantInput struct + GrantID *string + GrantToken *string + KeyID *string + type RetireGrantOutput struct + type RevokeGrantInput struct + GrantID *string + KeyID *string + type RevokeGrantOutput struct + type UpdateAliasInput struct + AliasName *string + TargetKeyID *string + type UpdateAliasOutput struct + type UpdateKeyDescriptionInput struct + Description *string + KeyID *string + type UpdateKeyDescriptionOutput struct