Links
Comment on page

Identities in Abbey

An Identity allows connecting external metadata sources with an Abbey User. Each identity can contain multiple entries from a single source. Metadata stored in an Identity can be accessed via Go text/template Interpolation​

Grant Kit Spec

resource "abbey_identity" "user_1" {
abbey_account = "[email protected]"
source = "aws_iam"
metadata = jsonencode(
{
name = "AWSIamName",
group = "Engineers"
}
)
}

Fields

Abbey Identity

The email for the user's Abbey Account

Source

An identifier to group the metadata under. They will be found under the data.system.abbey.identities.<source>namespace.

Metadata

Arbitrary data to provide to your provider. The data can be accessed under data.system.abbey.identities.<source>.<key>. For example, using the above resource block, the entry
{{ .data.system.abbey.identities.aws_iam.name }}
Resolves to the value
AWSIamName