Identities
Create an Identity
Identity Types
Currently there are two types of supported identies, SSH and TOKEN. When you add an SSH identity, it will create variables for Hostname, Port, User, and Password. If you are using the TOKEN identity, instead of a password you will be able to add an SSH private key. This SSH private key can be used like a password to any host that allows SSH connections.
Currently, the only types of identities that are supported are SSH style connections, however, one day we hope to support Kubernetes, AWS, Google Cloud, and other cloud style providers. We will have to add the identities and then we will also have to adjust all of the plugins to work with that style of identity.
Configure an Identity
When you have created an Identity, you can configure the variables that apply to that configuration by navigating to the Variables screen.
Variables that are considered secret (like the password and ssh private key) are encrypted with a key derived from the project and particular installation of DMT. Half of the key is stored in the database and the other half is stored on the filesystem. It is important to keep both halves secure in order to keep the identities configured on an installation of DMT secret from attackers who might try to grab those credentials and leverage them for their own gains.
Identities can be used in Environments, Jobs, Builds, and other places and they define how a Job will be run in a given context. They are used to establish connections to remote systems.