Crypto Server
    Preparing search index...

    Class KmsOwners

    Index
    • Load owners from dir/kms-owners.json when dir is given. A file that cannot be parsed stops the server rather than silently granting every key to no one (and so to admins).

      Parameters

      • dir: string | undefined

      Returns KmsOwners

    • The owner of a key, or undefined when the API did not create it.

      Parameters

      • provider: string
      • keyId: string

      Returns string | undefined

    • Record owner as the owner of a newly created key.

      Parameters

      • provider: string
      • keyId: string
      • owner: string

      Returns void