-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add google authd-broker documentation
- Loading branch information
Showing
13 changed files
with
129 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ mountpoint | |
msentraid | ||
NFS | ||
nss | ||
OAuth | ||
OIDC | ||
OpenID | ||
ppa | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,14 @@ | |
|
||
## Logging in with a remote provider | ||
|
||
Once the system is configured you can log into your system using your MS Entra ID credentials and the device code flow. | ||
Once the system is configured you can log into your system using your remote provider credentials and the device code flow. | ||
In this example we are going to use MS Entra ID as the remote provider. | ||
|
||
> See all the available providers: [Install brokers](./install-authd.md#install-brokers) | ||
In the login screen (greeter), select ```not listed``` below the user name field. | ||
|
||
Type your MS Entra ID user name. The format is ```[email protected]``` | ||
Type your remote provider user name. The format is ```[email protected]``` | ||
|
||
Select the broker `Microsoft Entra ID` | ||
|
||
|
@@ -50,12 +53,12 @@ If you want to restart the service, you can stop it with ```systemctl stop authd | |
|
||
Run ```/usr/libexec/authd --help``` to display the entire help. | ||
|
||
## Entra ID broker | ||
## Broker management | ||
|
||
The broker is managed through the ```snap``` command. | ||
The broker is managed through the ```snap``` command. | ||
|
||
The main operation is to restart the broker to reload the configuration when it has changed. You can reload the broker with the command: | ||
|
||
```shell | ||
snap restart authd-msentraid | ||
snap restart authd-<broker_name> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,19 +23,12 @@ sudo systemctl restart ssh | |
|
||
### Broker configuration | ||
|
||
To configure the broker edit the file `/var/snap/authd-msentraid/current/broker.conf` and set the key `ssh_allowed_suffixes` with the list of domains that you want to allow. | ||
To configure the broker edit the file `/var/snap/authd-<broker_name>/current/broker.conf` and set the key `ssh_allowed_suffixes` with the list of domains that you want to allow. | ||
|
||
``` | ||
[oidc] | ||
issuer = https://login.microsoftonline.com/<ISSUER_ID>/v2.0 | ||
client_id = <CLIENT_ID> | ||
... | ||
[users] | ||
# The directory where the home directory will be created for new users. | ||
# Existing users will keep their current directory. | ||
# The user home directory will be created in the format of {home_base_dir}/{username} | ||
# home_base_dir = /home | ||
# The username suffixes that are allowed to log in via ssh without existing previously in the system. | ||
# The suffixes must be separated by commas. | ||
ssh_allowed_suffixes = <ALLOWED DOMAINS> | ||
|
@@ -51,7 +44,7 @@ ssh_allowed_suffixes = @example.com,@ubuntu.com | |
|
||
Once this is all set up, you can ssh to the server in the same way you'd do with any server: `ssh <username>@<host>`. The format of `<username>` is the user handle on Entra ID such as `[email protected]`. | ||
|
||
For instance: | ||
For instance, here is an example using MS Entra ID as a provider: | ||
|
||
```shell | ||
ssh [email protected]@remote.host | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters