Data types
A collection of simple data-types used within Bifröst. More complex ones are defined on their dedicated pages.
Authorized Keys
These are usually files in the home directory of each user, located at ~/.ssh/authorized_keys
. These files are in the format:
1 2 |
|
They contain SSH Public Keys.
Examples
1 2 |
|
Docker Pull Credentials
To pull from an OCI/Docker image registry there can be credentials required. In these cases usually they have to be provided in this format.
Bifröst accept them in the following formats:
- Base64 URL encoded JSON of format
{"username":"<username>","password":"<password>"}
or{"auth":"<base64 encoded auth token>"}
- JSON of format
{"username":"<username>","password":"<password>"}
or{"auth":"<base64 encoded auth token>"}
... which will be:- base64 URL encoded by Bifröst. -> result will be as 1.
- A bare auth token ... which will be:
- base64 URL encoded,
- put into
{"auth":"<encoded bare auth token>"}
JSON and - finally base64 URL encoded by Bifröst. -> result will be as 1.
DSA Restriction
Can be one of:
none
all
at-least-1024-bits
at-least-2048-bits
at-least-3072-bits
Duration
A duration of time of Go flavor. Examples: 300ms
, 6s
, 5m
, 12h
or combined 12h5m6s300ms
.
ED25519 Restriction
Can be one of:
none
all
at-least-256-bits
ECDSA Restriction
Can be one of:
none
all
at-least-256-bits
at-least-384-bits
at-least-521-bits
Flow Name
Identifies flows. It has to fulfill the regular expression [a-z][a-z0-9]+
.
File Mode
The permissions to access a file in octal notation. See Oracles documentation for more details.
File Path
A location of a file on the local file system. Like /foo/bar
Host
Represents a host(-name), which can be either an IPv4, IPv6 or DNS name.
Log Color Mode
Can be one of:
auto
always
never
Log Format
Can be one of:
text
json
Log Level
Can be one of:
TRACE
DEBUG
INFO
WARN
ERROR
FATAL
Net Address
Socket address in format [<Host>]:<port>
.
Password
Represents an encoded or plain password that can be evaluated if it does match a requested one.
Password Type
Can be one of:
* plain
* bcrypt
Pull Policy
Can be one of:
* ifAbsend
* always
Regex
Regular expression of Go flavor. You can play around with it at regex.com.
RSA Restriction
Can be one of:
none
all
at-least-1024-bits
at-least-2048-bits
at-least-3072-bits
at-least-4096-bits
SSH Public Key
The public variant of an SSH keypair of a user.
Please refer to the good documentation at GitHub how to create SSH (public) keys.
URL
Represents a classical URL to reference resources (for example) in the internet, like https://bifroest.engity.org.