Hierarchy

Constructors

Methods

Constructors

Methods

  • Create a new secret

    Parameters

    Returns Promise<{
        id: string;
    }>

  • Deletes a secret from the account

    Parameters

    • secretID: string

      Secret identification

    Returns Promise<string>

  • Modify any property of the secret.

    Parameters

    • secretID: string

      Secret identification

    • secretObj: Partial<Pick<SecretsInfo, "tags"> & SecretsValue>

      Secret Object with data to replace

    Returns Promise<string>

  • Retrieves a list with all Secrets from the profile

    Parameters

    Returns Promise<SecretsInfo[]>

    Default

    queryObj: {
    page: 1,
    fields: ["id", "key"],
    filter: {},
    amount: 20,
    orderBy: "key,asc",
    }
    ```json