Versions in this module Expand all Collapse all v1 v1.1.0 Feb 13, 2024 v1.1.0-beta.1 Nov 8, 2023 v1.0.1 Aug 22, 2023 v1.0.0 Jul 17, 2023 v0 v0.14.0 Jun 8, 2023 Changes in this version type Client + func (client *Client) NewListDeletedSecretPropertiesPager(options *ListDeletedSecretPropertiesOptions) *runtime.Pager[ListDeletedSecretPropertiesResponse] + func (client *Client) NewListSecretPropertiesPager(options *ListSecretPropertiesOptions) *runtime.Pager[ListSecretPropertiesResponse] + func (client *Client) NewListSecretPropertiesVersionsPager(name string, options *ListSecretPropertiesVersionsOptions) *runtime.Pager[ListSecretPropertiesVersionsResponse] + func (client *Client) UpdateSecretProperties(ctx context.Context, name string, version string, ...) (UpdateSecretPropertiesResponse, error) + type DeletedSecret struct + Attributes *SecretAttributes + ContentType *string + DeletedDate *time.Time + ID *ID + KID *string + Managed *bool + RecoveryID *string + ScheduledPurgeDate *time.Time + Tags map[string]*string + Value *string + func (d *DeletedSecret) UnmarshalJSON(data []byte) error + func (d DeletedSecret) MarshalJSON() ([]byte, error) + type DeletedSecretProperties struct + Attributes *SecretAttributes + ContentType *string + DeletedDate *time.Time + ID *ID + Managed *bool + RecoveryID *string + ScheduledPurgeDate *time.Time + Tags map[string]*string + func (d *DeletedSecretProperties) UnmarshalJSON(data []byte) error + func (d DeletedSecretProperties) MarshalJSON() ([]byte, error) + type DeletedSecretPropertiesListResult struct + NextLink *string + Value []*DeletedSecretProperties + func (d *DeletedSecretPropertiesListResult) UnmarshalJSON(data []byte) error + func (d DeletedSecretPropertiesListResult) MarshalJSON() ([]byte, error) + type ListDeletedSecretPropertiesOptions struct + type ListDeletedSecretPropertiesResponse struct + type ListSecretPropertiesOptions struct + type ListSecretPropertiesResponse struct + type ListSecretPropertiesVersionsOptions struct + type ListSecretPropertiesVersionsResponse struct type RestoreSecretParameters + SecretBackup []byte + type Secret struct + Attributes *SecretAttributes + ContentType *string + ID *ID + KID *string + Managed *bool + Tags map[string]*string + Value *string + func (s *Secret) UnmarshalJSON(data []byte) error + func (s Secret) MarshalJSON() ([]byte, error) + type SecretProperties struct + Attributes *SecretAttributes + ContentType *string + ID *ID + Managed *bool + Tags map[string]*string + func (s *SecretProperties) UnmarshalJSON(data []byte) error + func (s SecretProperties) MarshalJSON() ([]byte, error) + type SecretPropertiesListResult struct + NextLink *string + Value []*SecretProperties + func (s *SecretPropertiesListResult) UnmarshalJSON(data []byte) error + func (s SecretPropertiesListResult) MarshalJSON() ([]byte, error) + type UpdateSecretPropertiesOptions struct + type UpdateSecretPropertiesParameters struct + ContentType *string + SecretAttributes *SecretAttributes + Tags map[string]*string + func (u *UpdateSecretPropertiesParameters) UnmarshalJSON(data []byte) error + func (u UpdateSecretPropertiesParameters) MarshalJSON() ([]byte, error) + type UpdateSecretPropertiesResponse struct v0.13.0 Apr 13, 2023 Changes in this version + type BackupSecretOptions struct + type BackupSecretResponse struct + type BackupSecretResult struct + Value []byte + func (b *BackupSecretResult) UnmarshalJSON(data []byte) error + func (b BackupSecretResult) MarshalJSON() ([]byte, error) + type Client struct + func NewClient(vaultURL string, credential azcore.TokenCredential, options *ClientOptions) (*Client, error) + func (client *Client) BackupSecret(ctx context.Context, name string, options *BackupSecretOptions) (BackupSecretResponse, error) + func (client *Client) DeleteSecret(ctx context.Context, name string, options *DeleteSecretOptions) (DeleteSecretResponse, error) + func (client *Client) GetDeletedSecret(ctx context.Context, name string, options *GetDeletedSecretOptions) (GetDeletedSecretResponse, error) + func (client *Client) GetSecret(ctx context.Context, name string, version string, options *GetSecretOptions) (GetSecretResponse, error) + func (client *Client) NewListDeletedSecretsPager(options *ListDeletedSecretsOptions) *runtime.Pager[ListDeletedSecretsResponse] + func (client *Client) NewListSecretVersionsPager(name string, options *ListSecretVersionsOptions) *runtime.Pager[ListSecretVersionsResponse] + func (client *Client) NewListSecretsPager(options *ListSecretsOptions) *runtime.Pager[ListSecretsResponse] + func (client *Client) PurgeDeletedSecret(ctx context.Context, name string, options *PurgeDeletedSecretOptions) (PurgeDeletedSecretResponse, error) + func (client *Client) RecoverDeletedSecret(ctx context.Context, name string, options *RecoverDeletedSecretOptions) (RecoverDeletedSecretResponse, error) + func (client *Client) RestoreSecret(ctx context.Context, parameters RestoreSecretParameters, ...) (RestoreSecretResponse, error) + func (client *Client) SetSecret(ctx context.Context, name string, parameters SetSecretParameters, ...) (SetSecretResponse, error) + func (client *Client) UpdateSecret(ctx context.Context, name string, version string, ...) (UpdateSecretResponse, error) + type ClientOptions struct + DisableChallengeResourceVerification bool + type DeleteSecretOptions struct + type DeleteSecretResponse struct + type DeletedSecretBundle struct + Attributes *SecretAttributes + ContentType *string + DeletedDate *time.Time + ID *ID + Kid *string + Managed *bool + RecoveryID *string + ScheduledPurgeDate *time.Time + Tags map[string]*string + Value *string + func (d *DeletedSecretBundle) UnmarshalJSON(data []byte) error + func (d DeletedSecretBundle) MarshalJSON() ([]byte, error) + type DeletedSecretItem struct + Attributes *SecretAttributes + ContentType *string + DeletedDate *time.Time + ID *ID + Managed *bool + RecoveryID *string + ScheduledPurgeDate *time.Time + Tags map[string]*string + func (d *DeletedSecretItem) UnmarshalJSON(data []byte) error + func (d DeletedSecretItem) MarshalJSON() ([]byte, error) + type DeletedSecretListResult struct + NextLink *string + Value []*DeletedSecretItem + func (d *DeletedSecretListResult) UnmarshalJSON(data []byte) error + func (d DeletedSecretListResult) MarshalJSON() ([]byte, error) + type DeletionRecoveryLevel string + const DeletionRecoveryLevelCustomizedRecoverable + const DeletionRecoveryLevelCustomizedRecoverableProtectedSubscription + const DeletionRecoveryLevelCustomizedRecoverablePurgeable + const DeletionRecoveryLevelPurgeable + const DeletionRecoveryLevelRecoverable + const DeletionRecoveryLevelRecoverableProtectedSubscription + const DeletionRecoveryLevelRecoverablePurgeable + func PossibleDeletionRecoveryLevelValues() []DeletionRecoveryLevel + type GetDeletedSecretOptions struct + type GetDeletedSecretResponse struct + type GetSecretOptions struct + type GetSecretResponse struct + type ID string + func (i *ID) Name() string + func (i *ID) Version() string + type ListDeletedSecretsOptions struct + MaxResults *int32 + type ListDeletedSecretsResponse struct + type ListSecretVersionsOptions struct + MaxResults *int32 + type ListSecretVersionsResponse struct + type ListSecretsOptions struct + MaxResults *int32 + type ListSecretsResponse struct + type PurgeDeletedSecretOptions struct + type PurgeDeletedSecretResponse struct + type RecoverDeletedSecretOptions struct + type RecoverDeletedSecretResponse struct + type RestoreSecretOptions struct + type RestoreSecretParameters struct + SecretBundleBackup []byte + func (r *RestoreSecretParameters) UnmarshalJSON(data []byte) error + func (r RestoreSecretParameters) MarshalJSON() ([]byte, error) + type RestoreSecretResponse struct + type SecretAttributes struct + Created *time.Time + Enabled *bool + Expires *time.Time + NotBefore *time.Time + RecoverableDays *int32 + RecoveryLevel *DeletionRecoveryLevel + Updated *time.Time + func (s *SecretAttributes) UnmarshalJSON(data []byte) error + func (s SecretAttributes) MarshalJSON() ([]byte, error) + type SecretBundle struct + Attributes *SecretAttributes + ContentType *string + ID *ID + Kid *string + Managed *bool + Tags map[string]*string + Value *string + func (s *SecretBundle) UnmarshalJSON(data []byte) error + func (s SecretBundle) MarshalJSON() ([]byte, error) + type SecretItem struct + Attributes *SecretAttributes + ContentType *string + ID *ID + Managed *bool + Tags map[string]*string + func (s *SecretItem) UnmarshalJSON(data []byte) error + func (s SecretItem) MarshalJSON() ([]byte, error) + type SecretListResult struct + NextLink *string + Value []*SecretItem + func (s *SecretListResult) UnmarshalJSON(data []byte) error + func (s SecretListResult) MarshalJSON() ([]byte, error) + type SetSecretOptions struct + type SetSecretParameters struct + ContentType *string + SecretAttributes *SecretAttributes + Tags map[string]*string + Value *string + func (s *SetSecretParameters) UnmarshalJSON(data []byte) error + func (s SetSecretParameters) MarshalJSON() ([]byte, error) + type SetSecretResponse struct + type UpdateSecretOptions struct + type UpdateSecretParameters struct + ContentType *string + SecretAttributes *SecretAttributes + Tags map[string]*string + func (u *UpdateSecretParameters) UnmarshalJSON(data []byte) error + func (u UpdateSecretParameters) MarshalJSON() ([]byte, error) + type UpdateSecretResponse struct