Skip to content

Simple authorization

Authorizes a requesting user via stored credentials.

Properties

type

Authorization Type = "simple"

Has to be set to simple to enable simple authorization.

entries

Array<Entry>

Each entry will be inspected to try to authorize a remote user.

Entry

Always one property of the following properties has to match in combination with name:

Properties

name

string

Name the remote user has to have.

Like: ssh <name>@my-great-domain.tld to match this entry.

authorizedKeys

Contains SSH Public Keys in the format of classic authorized keys.

authorizedKeysFile

Similar to authorizedKeys, but in a dedicated file.

password

Password (if user uses interactive or password authentication methods) to be evaluated against.

Context

This authorization will produce a context of type Authorization Simple.

Examples

  1. Using plain password:
    1
    2
    3
    4
    type: simple
    entries:
      - name: foo
        password: plain:bar
    
  2. Using authorized keys:
    1
    2
    3
    4
    5
    type: simple
    entries:
      - name: foo
        authorizedKeys: |
          ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC80lm5FQbbyRUut6RwZJRbxTLO3W4f08ITDi9fA3+jx foo@foo.tld
    

Compatibility

linux/generic linux/extended windows/generic
* * *