Skip to main content

Keeper_CreateCredentials

Keeper_CreateCredentials

Path Parameters
  • user string required

    The user id.

  • credential string required

    The credential id.

Request Body required
  • credentials object required

    Credentials are persistent authentication

    • name string required

      The resorce name of the credentials.

    • uid string

      The unique and immutable identifier of the credentials.

    • principal string

      The principal of the credentialscode, usually the username.

    • active object

      Wrapper message for bool. The JSON representation for BoolValue is JSON true and false.

      • value boolean

        The bool value.

    • authenticationMethod enum

      Possible values: [AUTHENTICATION_METHOD_UNSPECIFIED, BASIC, OAUTH2]

      Which authentication method is used by the credentials.

    • lastActivityTime date-time

      When the credentials were last used.

  • basic object
    • username string required
    • password string required
  • oauth2 object
    • principal string
    • refreshToken string required
Responses

OK

Schema
  • name string required

    The resorce name of the credentials.

  • uid string

    The unique and immutable identifier of the credentials.

  • principal string

    The principal of the credentialscode, usually the username.

  • active object

    Wrapper message for bool. The JSON representation for BoolValue is JSON true and false.

    • value boolean

      The bool value.

  • authenticationMethod enum

    Possible values: [AUTHENTICATION_METHOD_UNSPECIFIED, BASIC, OAUTH2]

    Which authentication method is used by the credentials.

  • lastActivityTime date-time

    When the credentials were last used.