Skip to Content

Key/Value Map

The following syntax is appropriate for adding a set of related key/value pairs as a single secret for use in your workflows.

type: map secret: map: key1: secret1 key2: secret2

Every key and value is a string, and the map must hold at least one pair. Use the map type when several values belong together and would otherwise need a secret each -- the parts of a connection string, for example, or a set of API keys for one service.