Available only in secure contexts.
The id read-only property of the Credential interface returns a string containing the credential's identifier.
id
The type read-only property of the Credential interface returns a string containing the credential's type.
type