gpsu provider set
Set the identity provider or change it
Set the identity provider or change it. The flags change only what they name. gpsu checks that each issuer answers before it saves anything.
A first provider asks for the web client’s secret unless –client-secret-vault names it. A later change keeps the secret unless –client-secret asks for a new one.
A new issuer signs out every user of the provider. Their subjects come from the old provider. Add –yes to go ahead.
Usage
gpsu provider set [flags]Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--admins | stringSlice | the groups whose members are admins. none maps no group | |
--cli-client | stringArray | a command-line client as ISSUER#CLIENT_ID. Repeat it for several. They replace the clients. none removes them | |
--client-id | string | the web client’s ID | |
--client-secret | bool | ask for a new client secret and encrypt it with the seal key | |
--client-secret-vault | string | read the client secret from this key in Vault as [MOUNT:]PATH#KEY | |
--issuer | string | the web client’s issuer URL exactly as the provider states it | |
--name | string | the name on the sign-in page’s button such as Authentik | |
--operators | stringSlice | the groups whose members are operators. none maps no group | |
--viewers | stringSlice | the groups whose members are viewers. none maps no group | |
--yes | bool | allow a new issuer, which signs out every user of the provider |
Global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--server | string | gpsu server URL such as https://gpsu.example ($GPSU_SERVER) |