Documentation ¶
Index ¶
- func PossibleValuesForDeletionRecoveryLevel() []string
- func PossibleValuesForJsonWebKeyCurveName() []string
- func PossibleValuesForJsonWebKeyOperation() []string
- func PossibleValuesForJsonWebKeyType() []string
- func PossibleValuesForKeyRotationPolicyActionType() []string
- type Action
- type CreateIfNotExistOperationResponse
- type DeletionRecoveryLevel
- type GetOperationResponse
- type GetVersionOperationResponse
- type JsonWebKeyCurveName
- type JsonWebKeyOperation
- type JsonWebKeyType
- type Key
- type KeyAttributes
- type KeyCreateParameters
- type KeyOperationPredicate
- type KeyProperties
- type KeyReleasePolicy
- type KeyRotationPolicyActionType
- type KeyRotationPolicyAttributes
- type KeysClient
- func (c KeysClient) CreateIfNotExist(ctx context.Context, id commonids.KeyVaultKeyId, input KeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
- func (c KeysClient) Get(ctx context.Context, id commonids.KeyVaultKeyId) (result GetOperationResponse, err error)
- func (c KeysClient) GetVersion(ctx context.Context, id commonids.KeyVaultKeyVersionId) (result GetVersionOperationResponse, err error)
- func (c KeysClient) List(ctx context.Context, id commonids.KeyVaultId) (resp ListOperationResponse, err error)
- func (c KeysClient) ListComplete(ctx context.Context, id commonids.KeyVaultId) (ListCompleteResult, error)
- func (c KeysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultId, predicate KeyOperationPredicate) (resp ListCompleteResult, err error)
- func (c KeysClient) ListVersions(ctx context.Context, id commonids.KeyVaultKeyId) (resp ListVersionsOperationResponse, err error)
- func (c KeysClient) ListVersionsComplete(ctx context.Context, id commonids.KeyVaultKeyId) (ListVersionsCompleteResult, error)
- func (c KeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultKeyId, ...) (resp ListVersionsCompleteResult, err error)
- type LifetimeAction
- type ListCompleteResult
- type ListOperationResponse
- type ListVersionsCompleteResult
- type ListVersionsOperationResponse
- type RotationPolicy
- type Trigger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeletionRecoveryLevel ¶
func PossibleValuesForDeletionRecoveryLevel() []string
func PossibleValuesForJsonWebKeyCurveName ¶
func PossibleValuesForJsonWebKeyCurveName() []string
func PossibleValuesForJsonWebKeyOperation ¶
func PossibleValuesForJsonWebKeyOperation() []string
func PossibleValuesForJsonWebKeyType ¶
func PossibleValuesForJsonWebKeyType() []string
func PossibleValuesForKeyRotationPolicyActionType ¶
func PossibleValuesForKeyRotationPolicyActionType() []string
Types ¶
type Action ¶
type Action struct {
Type *KeyRotationPolicyActionType `json:"type,omitempty"`
}
type DeletionRecoveryLevel ¶
type DeletionRecoveryLevel string
const ( DeletionRecoveryLevelPurgeable DeletionRecoveryLevel = "Purgeable" DeletionRecoveryLevelRecoverable DeletionRecoveryLevel = "Recoverable" DeletionRecoveryLevelRecoverablePositiveProtectedSubscription DeletionRecoveryLevel = "Recoverable+ProtectedSubscription" DeletionRecoveryLevelRecoverablePositivePurgeable DeletionRecoveryLevel = "Recoverable+Purgeable" )
type GetOperationResponse ¶
type JsonWebKeyCurveName ¶
type JsonWebKeyCurveName string
const ( JsonWebKeyCurveNamePNegativeFiveTwoOne JsonWebKeyCurveName = "P-521" JsonWebKeyCurveNamePNegativeThreeEightFour JsonWebKeyCurveName = "P-384" JsonWebKeyCurveNamePNegativeTwoFiveSix JsonWebKeyCurveName = "P-256" JsonWebKeyCurveNamePNegativeTwoFiveSixK JsonWebKeyCurveName = "P-256K" )
type JsonWebKeyOperation ¶
type JsonWebKeyOperation string
const ( JsonWebKeyOperationDecrypt JsonWebKeyOperation = "decrypt" JsonWebKeyOperationEncrypt JsonWebKeyOperation = "encrypt" JsonWebKeyOperationImport JsonWebKeyOperation = "import" JsonWebKeyOperationRelease JsonWebKeyOperation = "release" JsonWebKeyOperationSign JsonWebKeyOperation = "sign" JsonWebKeyOperationUnwrapKey JsonWebKeyOperation = "unwrapKey" JsonWebKeyOperationVerify JsonWebKeyOperation = "verify" JsonWebKeyOperationWrapKey JsonWebKeyOperation = "wrapKey" )
type JsonWebKeyType ¶
type JsonWebKeyType string
const ( JsonWebKeyTypeEC JsonWebKeyType = "EC" JsonWebKeyTypeECNegativeHSM JsonWebKeyType = "EC-HSM" JsonWebKeyTypeRSA JsonWebKeyType = "RSA" JsonWebKeyTypeRSANegativeHSM JsonWebKeyType = "RSA-HSM" )
type KeyAttributes ¶
type KeyAttributes struct { Created *int64 `json:"created,omitempty"` Enabled *bool `json:"enabled,omitempty"` Exp *int64 `json:"exp,omitempty"` Exportable *bool `json:"exportable,omitempty"` Nbf *int64 `json:"nbf,omitempty"` RecoveryLevel *DeletionRecoveryLevel `json:"recoveryLevel,omitempty"` Updated *int64 `json:"updated,omitempty"` }
type KeyCreateParameters ¶
type KeyCreateParameters struct { Properties KeyProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type KeyOperationPredicate ¶
func (KeyOperationPredicate) Matches ¶
func (p KeyOperationPredicate) Matches(input Key) bool
type KeyProperties ¶
type KeyProperties struct { Attributes *KeyAttributes `json:"attributes,omitempty"` CurveName *JsonWebKeyCurveName `json:"curveName,omitempty"` KeyOps *[]JsonWebKeyOperation `json:"keyOps,omitempty"` KeySize *int64 `json:"keySize,omitempty"` KeyUri *string `json:"keyUri,omitempty"` KeyUriWithVersion *string `json:"keyUriWithVersion,omitempty"` Kty *JsonWebKeyType `json:"kty,omitempty"` ReleasePolicy *KeyReleasePolicy `json:"release_policy,omitempty"` RotationPolicy *RotationPolicy `json:"rotationPolicy,omitempty"` }
type KeyReleasePolicy ¶
type KeyRotationPolicyActionType ¶
type KeyRotationPolicyActionType string
const ( KeyRotationPolicyActionTypeNotify KeyRotationPolicyActionType = "Notify" KeyRotationPolicyActionTypeRotate KeyRotationPolicyActionType = "Rotate" )
type KeysClient ¶
func NewKeysClientWithBaseURI ¶
func NewKeysClientWithBaseURI(endpoint string) KeysClient
func (KeysClient) CreateIfNotExist ¶
func (c KeysClient) CreateIfNotExist(ctx context.Context, id commonids.KeyVaultKeyId, input KeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
CreateIfNotExist ...
func (KeysClient) Get ¶
func (c KeysClient) Get(ctx context.Context, id commonids.KeyVaultKeyId) (result GetOperationResponse, err error)
Get ...
func (KeysClient) GetVersion ¶
func (c KeysClient) GetVersion(ctx context.Context, id commonids.KeyVaultKeyVersionId) (result GetVersionOperationResponse, err error)
GetVersion ...
func (KeysClient) List ¶
func (c KeysClient) List(ctx context.Context, id commonids.KeyVaultId) (resp ListOperationResponse, err error)
List ...
func (KeysClient) ListComplete ¶
func (c KeysClient) ListComplete(ctx context.Context, id commonids.KeyVaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (KeysClient) ListCompleteMatchingPredicate ¶
func (c KeysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultId, predicate KeyOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (KeysClient) ListVersions ¶
func (c KeysClient) ListVersions(ctx context.Context, id commonids.KeyVaultKeyId) (resp ListVersionsOperationResponse, err error)
ListVersions ...
func (KeysClient) ListVersionsComplete ¶
func (c KeysClient) ListVersionsComplete(ctx context.Context, id commonids.KeyVaultKeyId) (ListVersionsCompleteResult, error)
ListVersionsComplete retrieves all of the results into a single object
func (KeysClient) ListVersionsCompleteMatchingPredicate ¶
func (c KeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultKeyId, predicate KeyOperationPredicate) (resp ListVersionsCompleteResult, err error)
ListVersionsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type LifetimeAction ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Key
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Key // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListVersionsCompleteResult ¶
type ListVersionsCompleteResult struct {
Items []Key
}
type ListVersionsOperationResponse ¶
type ListVersionsOperationResponse struct { HttpResponse *http.Response Model *[]Key // contains filtered or unexported fields }
func (ListVersionsOperationResponse) HasMore ¶
func (r ListVersionsOperationResponse) HasMore() bool
func (ListVersionsOperationResponse) LoadMore ¶
func (r ListVersionsOperationResponse) LoadMore(ctx context.Context) (resp ListVersionsOperationResponse, err error)
type RotationPolicy ¶
type RotationPolicy struct { Attributes *KeyRotationPolicyAttributes `json:"attributes,omitempty"` LifetimeActions *[]LifetimeAction `json:"lifetimeActions,omitempty"` }
Source Files ¶
- client.go
- constants.go
- method_createifnotexist_autorest.go
- method_get_autorest.go
- method_getversion_autorest.go
- method_list_autorest.go
- method_listversions_autorest.go
- model_action.go
- model_key.go
- model_keyattributes.go
- model_keycreateparameters.go
- model_keyproperties.go
- model_keyreleasepolicy.go
- model_keyrotationpolicyattributes.go
- model_lifetimeaction.go
- model_rotationpolicy.go
- model_trigger.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.