Literal

The literal provider (literal) allows use of hard-coded values as credential sources.

 

This provider is not intended to be a source of sensitive information. Secrets stored in this manner are considered insecure and should be provided through a secure solution such as Conjur. Take caution and be mindful of the type of information supplied by this provider.

Examples

 

version: "2"
services:
  ssh:
    protocol: ssh
    listenOn: tcp://0.0.0.0:22
    credentials:
      address: my-service.myorg.com:29341
      privateKey:
        from: conjur
        get: my-service/ssh-key

When using the literal provider, you can provide the string value for the credential directly. Alternatively, you can provide it using the more verbose syntax:

 

version: "2"
services:
  ssh:
    protocol: ssh
    listenOn: tcp://0.0.0.0:22
    credentials:
      address:
        from: literal
        get: my-service.myorg.com:29341
      privateKey:
        from: conjur
        get: my-service/ssh-key
 
9.7