mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 13:39:37 +08:00
Teleport lab is a demo environment in docker-compose. All components are setup, so users can jump straight into exploration of Teleport's features.
32 lines
612 B
YAML
32 lines
612 B
YAML
kind: role
|
|
version: v3
|
|
metadata:
|
|
name: bot
|
|
spec:
|
|
# SSH options used for user sessions
|
|
options:
|
|
# max_session_ttl defines the TTL (time to live) of SSH certificates
|
|
# issued to the users with this role.
|
|
max_session_ttl: 10h
|
|
|
|
# allow section declares a list of resource/verb combinations that are
|
|
# allowed for the users of this role. by default nothing is allowed.
|
|
allow:
|
|
logins: ['root']
|
|
node_labels:
|
|
'*': '*'
|
|
---
|
|
kind: user
|
|
version: v2
|
|
metadata:
|
|
name: bot
|
|
spec:
|
|
roles: ['bot']
|
|
---
|
|
kind: user
|
|
version: v2
|
|
metadata:
|
|
name: editor
|
|
spec:
|
|
roles: ['editor', 'access']
|