@openvireo/sdk - v0.2.0
    Preparing search index...

    Function newSaSecret

    • A new SA secret: the raw secret and kek, the NewSaSecret body for the server, and the token to show once. master is the SA master key (unsealed by an owner/admin).

      Parameters

      • p: {
            expiresAt?: string | null;
            master: Uint8Array;
            name?: string;
            saId: string;
            secretId: string;
            url: string;
        }

      Returns {
          body: {
              expires_at: string | null;
              id: string;
              name?: string;
              prefix: string;
              secret_hash: string;
              wrapped_master: string;
          };
          token: string;
      }