Skip to content

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

FlagTypeDefaultDescription
--adminsstringSlicethe groups whose members are admins. none maps no group
--cli-clientstringArraya command-line client as ISSUER#CLIENT_ID. Repeat it for several. They replace the clients. none removes them
--client-idstringthe web client’s ID
--client-secretboolask for a new client secret and encrypt it with the seal key
--client-secret-vaultstringread the client secret from this key in Vault as [MOUNT:]PATH#KEY
--issuerstringthe web client’s issuer URL exactly as the provider states it
--namestringthe name on the sign-in page’s button such as Authentik
--operatorsstringSlicethe groups whose members are operators. none maps no group
--viewersstringSlicethe groups whose members are viewers. none maps no group
--yesboolallow a new issuer, which signs out every user of the provider

Global flags

FlagTypeDefaultDescription
--serverstringgpsu server URL such as https://gpsu.example ($GPSU_SERVER)