Identity Sources
On this page
Using the identitysources
command, it is possible to manage identity sources.
This command manages identity sources.
Usage:
Permguard authn identitysources [flags]
Permguard authn identitysources [command]
Available Commands:
create Create an identity source
delete Delete an identity source
list List identity sources
update Update an identity source
Flags:
--zone-id int zone id
-h, --help help for identitysources
Global Flags:
-o, --output string output format (default "terminal")
-v, --verbose true for verbose output
-w, --workdir string workdir (default ".")
-v, --verbose true for verbose output
Use "Permguard authn identitysources [command] --help" for more information about a command.
The output from your current version of Permguard may differ from the example provided on this page.
Create an IdentitySource
The permguard authn identitysources create
command allows to create an identity source for the mandatory input zone and name.
permguard authn identitysources create --zone-id 273165098782 --name google
output:
1da1d9094501425085859c60429163c2: google
JSON Output
permguard authn identitysources create --zone-id 273165098782 --name google --output json
output:
{
"identity_sources": [
{
"identity_source_id": "1da1d9094501425085859c60429163c2",
"created_at": "2024-08-25T14:36:08.677Z",
"updated_at": "2024-08-25T14:36:08.677Z",
"zone_id": 273165098782,
"name": "google"
}
]
}
Get All IdentitySource
The permguard authn identitysources list
command allows for the retrieval of all identity sources.
permguard authn identitysources list --zone-id 273165098782
output:
1da1d9094501425085859c60429163c2: google
82b293c0c4eb4f65a8d6f29adfeb8ca5: facebook
JSON Output
permguard authn identitysources list --zone-id 273165098782 --output json
output:
{
"identity_sources": [
{
"identity_source_id": "1da1d9094501425085859c60429163c2",
"created_at": "2024-08-25T14:36:08.677Z",
"updated_at": "2024-08-25T14:36:08.677Z",
"zone_id": 273165098782,
"name": "google"
},
{
"identity_source_id": "82b293c0c4eb4f65a8d6f29adfeb8ca5",
"created_at": "2024-08-25T14:36:23.169Z",
"updated_at": "2024-08-25T14:36:23.169Z",
"zone_id": 273165098782,
"name": "facebook"
}
]
}
Prev
TenantsNext
Identities