Sprog

KeyVaultAccessControlClient Class

Definition

The KeyVaultAccessControlClient.

public class KeyVaultAccessControlClient
public class KeyVaultAccessControlClient : IDisposable
type KeyVaultAccessControlClient = class
type KeyVaultAccessControlClient = class
    interface IDisposable
Public Class KeyVaultAccessControlClient
Public Class KeyVaultAccessControlClient
Implements IDisposable
Inheritance
KeyVaultAccessControlClient
Implements

Constructors

Name Description
KeyVaultAccessControlClient()

Initializes a new instance of the KeyVaultAccessControlClient class for mocking.

KeyVaultAccessControlClient(KeyVaultAccessControlClientSettings)

Initializes a new instance of KeyVaultAccessControlClient from a KeyVaultAccessControlClientSettings.

KeyVaultAccessControlClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions)

Initializes a new instance of the KeyVaultAccessControlClient class for the specified vault.

KeyVaultAccessControlClient(Uri, TokenCredential)

Initializes a new instance of the KeyVaultAccessControlClient class for the specified vault.

Properties

Name Description
Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

VaultUri

Gets the vault URI.

Methods

Name Description
CreateOrUpdateRoleDefinition(CreateOrUpdateRoleDefinitionOptions, CancellationToken)

Creates or updates a role definition.

CreateOrUpdateRoleDefinition(KeyVaultRoleScope, Nullable<Guid>, CancellationToken)

Creates or updates a role definition. If the named role definition is already defined it will be updated.

CreateOrUpdateRoleDefinitionAsync(CreateOrUpdateRoleDefinitionOptions, CancellationToken)

Creates or updates a role definition.

CreateOrUpdateRoleDefinitionAsync(KeyVaultRoleScope, Nullable<Guid>, CancellationToken)

Creates or updates a role definition. If the named role definition is already defined it will be updated.

CreateRoleAssignment(KeyVaultRoleScope, String, String, Nullable<Guid>, CancellationToken)

Creates a role assignment.

CreateRoleAssignmentAsync(KeyVaultRoleScope, String, String, Nullable<Guid>, CancellationToken)

Creates a role assignment.

DeleteRoleAssignment(KeyVaultRoleScope, String, CancellationToken)

Delete the specified role assignment.

DeleteRoleAssignmentAsync(KeyVaultRoleScope, String, CancellationToken)

Delete the specified role assignment.

DeleteRoleDefinition(KeyVaultRoleScope, Guid, CancellationToken)

Deletes a role definition.

DeleteRoleDefinitionAsync(KeyVaultRoleScope, Guid, CancellationToken)

Deletes a role definition.

Dispose()

Releases the HTTP pipeline resources owned by this client.

GetRoleAssignment(KeyVaultRoleScope, String, CancellationToken)

Get the specified role assignment.

GetRoleAssignmentAsync(KeyVaultRoleScope, String, CancellationToken)

Get the specified role assignment.

GetRoleAssignments(KeyVaultRoleScope, CancellationToken)

Gets the role assignments for a scope.

GetRoleAssignmentsAsync(KeyVaultRoleScope, CancellationToken)

Gets the role assignments for a scope.

GetRoleDefinition(KeyVaultRoleScope, Guid, CancellationToken)

Get a specific role definition.

GetRoleDefinitionAsync(KeyVaultRoleScope, Guid, CancellationToken)

Get a specific role definition.

GetRoleDefinitions(KeyVaultRoleScope, CancellationToken)

Get all role definitions that are applicable at scope and above.

GetRoleDefinitionsAsync(KeyVaultRoleScope, CancellationToken)

Get all role definitions that are applicable at scope and above.

Applies to