Options
All
  • Public
  • Public/Protected
  • All
Menu

@azure/keyvault-common

Package version

Index

Type aliases

ParsedWWWAuthenticate

ParsedWWWAuthenticate: {}

Type declaration

RoleAssignmentScope

RoleAssignmentScope: "/" | "/keys" | string

A scope of the role assignment. The valid scopes are: "/", "/keys" and any a specific resource Id followed by a slash, as in "ID/".

SUPPORTED_API_VERSIONS

SUPPORTED_API_VERSIONS: "7.2-preview"

Supported API versions

ValidParsedWWWAuthenticateProperties

ValidParsedWWWAuthenticateProperties: "authorization" | "resource" | "scope"

Variables

Const LATEST_API_VERSION

LATEST_API_VERSION: "7.2-preview" = "7.2-preview"

The latest supported Key Vault service API version.

Const SDK_VERSION

SDK_VERSION: string = "4.0.0-beta.1"

Current version of the Key Vault Admin SDK.

Const logger

logger: any = createClientLogger("keyvault-admin")

The @azure/logger configuration for this package.

Functions

cancel

challengeBasedAuthenticationPolicy

  • challengeBasedAuthenticationPolicy(credential: TokenCredential): RequestPolicyFactory

fullBackup

  • fullBackup(client: KeyVaultClient, vaultUrl: string, options: KeyVaultClientFullBackupOptionalParams): Promise<KeyVaultClientFullBackupResponse>
  • Tracing the fullBackup operation

    Parameters

    • client: KeyVaultClient
    • vaultUrl: string
    • options: KeyVaultClientFullBackupOptionalParams

    Returns Promise<KeyVaultClientFullBackupResponse>

fullBackupStatus

  • fullBackupStatus(client: KeyVaultClient, vaultUrl: string, jobId: string, options: BeginBackupOptions): Promise<KeyVaultClientFullBackupStatusResponse>

fullRestore

  • fullRestore(client: KeyVaultClient, vaultUrl: string, options: KeyVaultClientFullRestoreOperationOptionalParams): Promise<KeyVaultClientFullRestoreOperationResponse>
  • Tracing the fullRestore operation

    Parameters

    • client: KeyVaultClient
    • vaultUrl: string
    • options: KeyVaultClientFullRestoreOperationOptionalParams

    Returns Promise<KeyVaultClientFullRestoreOperationResponse>

makeBackupPollOperation

makeRestorePollOperation

makeSelectiveRestorePollOperation

parseWWWAuthenticate

  • Parses an WWW-Authenticate response. This transforms a string value like: Bearer authorization="some_authorization", resource="https://some.url" into an object like: { authorization: "some_authorization", resource: "https://some.url" }

    Parameters

    • wwwAuthenticate: string

      string value in the WWW-Authenticate header

    Returns ParsedWWWAuthenticate

restoreStatus

  • restoreStatus(client: KeyVaultClient, vaultUrl: string, jobId: string, options: OperationOptions): Promise<KeyVaultClientRestoreStatusResponse>
  • Tracing the restoreStatus operation.

    Parameters

    • client: KeyVaultClient
    • vaultUrl: string
    • jobId: string
    • options: OperationOptions

    Returns Promise<KeyVaultClientRestoreStatusResponse>

selectiveRestore

  • selectiveRestore(client: KeyVaultClient, vaultUrl: string, keyName: string, options: KeyVaultClientSelectiveKeyRestoreOperationOptionalParams): Promise<KeyVaultClientSelectiveKeyRestoreOperationResponse>
  • Tracing the selectiveRestore operation

    Parameters

    • client: KeyVaultClient
    • vaultUrl: string
    • keyName: string
    • options: KeyVaultClientSelectiveKeyRestoreOperationOptionalParams

    Returns Promise<KeyVaultClientSelectiveKeyRestoreOperationResponse>

toString

update

Object literals

Const mappings

mappings: object

roleAssignment

roleAssignment: object

generatedToPublic

roleDefinition

roleDefinition: object

generatedToPublic

Generated using TypeDoc