Skip to main content
  • Create a new credential.

    Parameters

    • credential_name: string

      Name of the credential to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match an existing credential name.

    • type: string

      Type of the credential to be created.

    • identity: string

      User of the credential to be created.

    • secret: string

      Password of the credential to be created.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<CreateCredentialResponse>

    Promise<Types.CreateCredentialResponse> - Promise resolving to the response