I am a bit confused about <https://www.ory.sh/docs...
# ory-network
c
I am a bit confused about https://www.ory.sh/docs/kratos/concepts/credentials
credentials:
password:
id: password
identifiers:
- [email protected]
- [email protected]
config:
hashed_password: ...
When I see that, does that implies that I shared the password between those two emails? Or would each email have its own password?
Does that means I could have multiple emails or whatever for
totp
credentials as well?
s
You can have as many identifiers as you want. The identifiers are annotated as such in the identity schema.
c
In that example the
password
could be any of those emails, is that correct? Does that means that probably more than one attribute was marked as identifier so it could be use eventually?
Does that mean that any of those emails could be used in the
password
creds, right? I am trying to confirm by speaking out loud.
s
Yes exactly