Versions in this module Expand all Collapse all v0 v0.4.0 May 26, 2018 Changes in this version + const EndpointsID + const ErrCodeDecryptionFailure + const ErrCodeEncryptionFailure + const ErrCodeInternalServiceError + const ErrCodeInvalidNextTokenException + const ErrCodeInvalidParameterException + const ErrCodeInvalidRequestException + const ErrCodeLimitExceededException + const ErrCodeMalformedPolicyDocumentException + const ErrCodeResourceExistsException + const ErrCodeResourceNotFoundException + const ServiceName + type CancelRotateSecretInput struct + SecretId *string + func (s *CancelRotateSecretInput) Validate() error + func (s CancelRotateSecretInput) GoString() string + func (s CancelRotateSecretInput) String() string + type CancelRotateSecretOutput struct + ARN *string + Name *string + VersionId *string + func (s CancelRotateSecretOutput) GoString() string + func (s CancelRotateSecretOutput) SDKResponseMetadata() aws.Response + func (s CancelRotateSecretOutput) String() string + type CancelRotateSecretRequest struct + Copy func(*CancelRotateSecretInput) CancelRotateSecretRequest + Input *CancelRotateSecretInput + func (r CancelRotateSecretRequest) Send() (*CancelRotateSecretOutput, error) + type CreateSecretInput struct + ClientRequestToken *string + Description *string + KmsKeyId *string + Name *string + SecretBinary []byte + SecretString *string + Tags []Tag + func (s *CreateSecretInput) Validate() error + func (s CreateSecretInput) GoString() string + func (s CreateSecretInput) String() string + type CreateSecretOutput struct + ARN *string + Name *string + VersionId *string + func (s CreateSecretOutput) GoString() string + func (s CreateSecretOutput) SDKResponseMetadata() aws.Response + func (s CreateSecretOutput) String() string + type CreateSecretRequest struct + Copy func(*CreateSecretInput) CreateSecretRequest + Input *CreateSecretInput + func (r CreateSecretRequest) Send() (*CreateSecretOutput, error) + type DeleteSecretInput struct + RecoveryWindowInDays *int64 + SecretId *string + func (s *DeleteSecretInput) Validate() error + func (s DeleteSecretInput) GoString() string + func (s DeleteSecretInput) String() string + type DeleteSecretOutput struct + ARN *string + DeletionDate *time.Time + Name *string + func (s DeleteSecretOutput) GoString() string + func (s DeleteSecretOutput) SDKResponseMetadata() aws.Response + func (s DeleteSecretOutput) String() string + type DeleteSecretRequest struct + Copy func(*DeleteSecretInput) DeleteSecretRequest + Input *DeleteSecretInput + func (r DeleteSecretRequest) Send() (*DeleteSecretOutput, error) + type DescribeSecretInput struct + SecretId *string + func (s *DescribeSecretInput) Validate() error + func (s DescribeSecretInput) GoString() string + func (s DescribeSecretInput) String() string + type DescribeSecretOutput struct + ARN *string + DeletedDate *time.Time + Description *string + KmsKeyId *string + LastAccessedDate *time.Time + LastChangedDate *time.Time + LastRotatedDate *time.Time + Name *string + RotationEnabled *bool + RotationLambdaARN *string + RotationRules *RotationRulesType + Tags []Tag + VersionIdsToStages map[string][]string + func (s DescribeSecretOutput) GoString() string + func (s DescribeSecretOutput) SDKResponseMetadata() aws.Response + func (s DescribeSecretOutput) String() string + type DescribeSecretRequest struct + Copy func(*DescribeSecretInput) DescribeSecretRequest + Input *DescribeSecretInput + func (r DescribeSecretRequest) Send() (*DescribeSecretOutput, error) + type GetRandomPasswordInput struct + ExcludeCharacters *string + ExcludeLowercase *bool + ExcludeNumbers *bool + ExcludePunctuation *bool + ExcludeUppercase *bool + IncludeSpace *bool + PasswordLength *int64 + RequireEachIncludedType *bool + func (s *GetRandomPasswordInput) Validate() error + func (s GetRandomPasswordInput) GoString() string + func (s GetRandomPasswordInput) String() string + type GetRandomPasswordOutput struct + RandomPassword *string + func (s GetRandomPasswordOutput) GoString() string + func (s GetRandomPasswordOutput) SDKResponseMetadata() aws.Response + func (s GetRandomPasswordOutput) String() string + type GetRandomPasswordRequest struct + Copy func(*GetRandomPasswordInput) GetRandomPasswordRequest + Input *GetRandomPasswordInput + func (r GetRandomPasswordRequest) Send() (*GetRandomPasswordOutput, error) + type GetSecretValueInput struct + SecretId *string + VersionId *string + VersionStage *string + func (s *GetSecretValueInput) Validate() error + func (s GetSecretValueInput) GoString() string + func (s GetSecretValueInput) String() string + type GetSecretValueOutput struct + ARN *string + CreatedDate *time.Time + Name *string + SecretBinary []byte + SecretString *string + VersionId *string + VersionStages []string + func (s GetSecretValueOutput) GoString() string + func (s GetSecretValueOutput) SDKResponseMetadata() aws.Response + func (s GetSecretValueOutput) String() string + type GetSecretValueRequest struct + Copy func(*GetSecretValueInput) GetSecretValueRequest + Input *GetSecretValueInput + func (r GetSecretValueRequest) Send() (*GetSecretValueOutput, error) + type ListSecretVersionIdsInput struct + IncludeDeprecated *bool + MaxResults *int64 + NextToken *string + SecretId *string + func (s *ListSecretVersionIdsInput) Validate() error + func (s ListSecretVersionIdsInput) GoString() string + func (s ListSecretVersionIdsInput) String() string + type ListSecretVersionIdsOutput struct + ARN *string + Name *string + NextToken *string + Versions []SecretVersionsListEntry + func (s ListSecretVersionIdsOutput) GoString() string + func (s ListSecretVersionIdsOutput) SDKResponseMetadata() aws.Response + func (s ListSecretVersionIdsOutput) String() string + type ListSecretVersionIdsPager struct + func (p *ListSecretVersionIdsPager) CurrentPage() *ListSecretVersionIdsOutput + type ListSecretVersionIdsRequest struct + Copy func(*ListSecretVersionIdsInput) ListSecretVersionIdsRequest + Input *ListSecretVersionIdsInput + func (p *ListSecretVersionIdsRequest) Paginate(opts ...aws.Option) ListSecretVersionIdsPager + func (r ListSecretVersionIdsRequest) Send() (*ListSecretVersionIdsOutput, error) + type ListSecretsInput struct + MaxResults *int64 + NextToken *string + func (s *ListSecretsInput) Validate() error + func (s ListSecretsInput) GoString() string + func (s ListSecretsInput) String() string + type ListSecretsOutput struct + NextToken *string + SecretList []SecretListEntry + func (s ListSecretsOutput) GoString() string + func (s ListSecretsOutput) SDKResponseMetadata() aws.Response + func (s ListSecretsOutput) String() string + type ListSecretsPager struct + func (p *ListSecretsPager) CurrentPage() *ListSecretsOutput + type ListSecretsRequest struct + Copy func(*ListSecretsInput) ListSecretsRequest + Input *ListSecretsInput + func (p *ListSecretsRequest) Paginate(opts ...aws.Option) ListSecretsPager + func (r ListSecretsRequest) Send() (*ListSecretsOutput, error) + type PutSecretValueInput struct + ClientRequestToken *string + SecretBinary []byte + SecretId *string + SecretString *string + VersionStages []string + func (s *PutSecretValueInput) Validate() error + func (s PutSecretValueInput) GoString() string + func (s PutSecretValueInput) String() string + type PutSecretValueOutput struct + ARN *string + Name *string + VersionId *string + VersionStages []string + func (s PutSecretValueOutput) GoString() string + func (s PutSecretValueOutput) SDKResponseMetadata() aws.Response + func (s PutSecretValueOutput) String() string + type PutSecretValueRequest struct + Copy func(*PutSecretValueInput) PutSecretValueRequest + Input *PutSecretValueInput + func (r PutSecretValueRequest) Send() (*PutSecretValueOutput, error) + type RestoreSecretInput struct + SecretId *string + func (s *RestoreSecretInput) Validate() error + func (s RestoreSecretInput) GoString() string + func (s RestoreSecretInput) String() string + type RestoreSecretOutput struct + ARN *string + Name *string + func (s RestoreSecretOutput) GoString() string + func (s RestoreSecretOutput) SDKResponseMetadata() aws.Response + func (s RestoreSecretOutput) String() string + type RestoreSecretRequest struct + Copy func(*RestoreSecretInput) RestoreSecretRequest + Input *RestoreSecretInput + func (r RestoreSecretRequest) Send() (*RestoreSecretOutput, error) + type RotateSecretInput struct + ClientRequestToken *string + RotationLambdaARN *string + RotationRules *RotationRulesType + SecretId *string + func (s *RotateSecretInput) Validate() error + func (s RotateSecretInput) GoString() string + func (s RotateSecretInput) String() string + type RotateSecretOutput struct + ARN *string + Name *string + VersionId *string + func (s RotateSecretOutput) GoString() string + func (s RotateSecretOutput) SDKResponseMetadata() aws.Response + func (s RotateSecretOutput) String() string + type RotateSecretRequest struct + Copy func(*RotateSecretInput) RotateSecretRequest + Input *RotateSecretInput + func (r RotateSecretRequest) Send() (*RotateSecretOutput, error) + type RotationRulesType struct + AutomaticallyAfterDays *int64 + func (s *RotationRulesType) Validate() error + func (s RotationRulesType) GoString() string + func (s RotationRulesType) String() string + type SecretListEntry struct + ARN *string + DeletedDate *time.Time + Description *string + KmsKeyId *string + LastAccessedDate *time.Time + LastChangedDate *time.Time + LastRotatedDate *time.Time + Name *string + RotationEnabled *bool + RotationLambdaARN *string + RotationRules *RotationRulesType + SecretVersionsToStages map[string][]string + Tags []Tag + func (s SecretListEntry) GoString() string + func (s SecretListEntry) String() string + type SecretVersionsListEntry struct + CreatedDate *time.Time + LastAccessedDate *time.Time + VersionId *string + VersionStages []string + func (s SecretVersionsListEntry) GoString() string + func (s SecretVersionsListEntry) String() string + type SecretsManager struct + func New(config aws.Config) *SecretsManager + func (c *SecretsManager) CancelRotateSecretRequest(input *CancelRotateSecretInput) CancelRotateSecretRequest + func (c *SecretsManager) CreateSecretRequest(input *CreateSecretInput) CreateSecretRequest + func (c *SecretsManager) DeleteSecretRequest(input *DeleteSecretInput) DeleteSecretRequest + func (c *SecretsManager) DescribeSecretRequest(input *DescribeSecretInput) DescribeSecretRequest + func (c *SecretsManager) GetRandomPasswordRequest(input *GetRandomPasswordInput) GetRandomPasswordRequest + func (c *SecretsManager) GetSecretValueRequest(input *GetSecretValueInput) GetSecretValueRequest + func (c *SecretsManager) ListSecretVersionIdsRequest(input *ListSecretVersionIdsInput) ListSecretVersionIdsRequest + func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) ListSecretsRequest + func (c *SecretsManager) PutSecretValueRequest(input *PutSecretValueInput) PutSecretValueRequest + func (c *SecretsManager) RestoreSecretRequest(input *RestoreSecretInput) RestoreSecretRequest + func (c *SecretsManager) RotateSecretRequest(input *RotateSecretInput) RotateSecretRequest + func (c *SecretsManager) TagResourceRequest(input *TagResourceInput) TagResourceRequest + func (c *SecretsManager) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest + func (c *SecretsManager) UpdateSecretRequest(input *UpdateSecretInput) UpdateSecretRequest + func (c *SecretsManager) UpdateSecretVersionStageRequest(input *UpdateSecretVersionStageInput) UpdateSecretVersionStageRequest + type Tag struct + Key *string + Value *string + func (s *Tag) Validate() error + func (s Tag) GoString() string + func (s Tag) String() string + type TagResourceInput struct + SecretId *string + Tags []Tag + func (s *TagResourceInput) Validate() error + func (s TagResourceInput) GoString() string + func (s TagResourceInput) String() string + type TagResourceOutput struct + func (s TagResourceOutput) GoString() string + func (s TagResourceOutput) SDKResponseMetadata() aws.Response + func (s TagResourceOutput) String() string + type TagResourceRequest struct + Copy func(*TagResourceInput) TagResourceRequest + Input *TagResourceInput + func (r TagResourceRequest) Send() (*TagResourceOutput, error) + type UntagResourceInput struct + SecretId *string + TagKeys []string + func (s *UntagResourceInput) Validate() error + func (s UntagResourceInput) GoString() string + func (s UntagResourceInput) String() string + type UntagResourceOutput struct + func (s UntagResourceOutput) GoString() string + func (s UntagResourceOutput) SDKResponseMetadata() aws.Response + func (s UntagResourceOutput) String() string + type UntagResourceRequest struct + Copy func(*UntagResourceInput) UntagResourceRequest + Input *UntagResourceInput + func (r UntagResourceRequest) Send() (*UntagResourceOutput, error) + type UpdateSecretInput struct + ClientRequestToken *string + Description *string + KmsKeyId *string + SecretBinary []byte + SecretId *string + SecretString *string + func (s *UpdateSecretInput) Validate() error + func (s UpdateSecretInput) GoString() string + func (s UpdateSecretInput) String() string + type UpdateSecretOutput struct + ARN *string + Name *string + VersionId *string + func (s UpdateSecretOutput) GoString() string + func (s UpdateSecretOutput) SDKResponseMetadata() aws.Response + func (s UpdateSecretOutput) String() string + type UpdateSecretRequest struct + Copy func(*UpdateSecretInput) UpdateSecretRequest + Input *UpdateSecretInput + func (r UpdateSecretRequest) Send() (*UpdateSecretOutput, error) + type UpdateSecretVersionStageInput struct + MoveToVersionId *string + RemoveFromVersionId *string + SecretId *string + VersionStage *string + func (s *UpdateSecretVersionStageInput) Validate() error + func (s UpdateSecretVersionStageInput) GoString() string + func (s UpdateSecretVersionStageInput) String() string + type UpdateSecretVersionStageOutput struct + ARN *string + Name *string + func (s UpdateSecretVersionStageOutput) GoString() string + func (s UpdateSecretVersionStageOutput) SDKResponseMetadata() aws.Response + func (s UpdateSecretVersionStageOutput) String() string + type UpdateSecretVersionStageRequest struct + Copy func(*UpdateSecretVersionStageInput) UpdateSecretVersionStageRequest + Input *UpdateSecretVersionStageInput + func (r UpdateSecretVersionStageRequest) Send() (*UpdateSecretVersionStageOutput, error)