mikenomitch/Nomad JWT Auth
A GitHub Action to mint a short-lived Nomad token using GHA identity tokens
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL of the Nomad cluster | no | http://localhost:4646 |
| methodName | The name of the Nomad Auth Method to use | no | github |
| identityToken | The JWT identity token to use. Will use Github Action if not provided | no | — |
| jwtGithubAudience | The audience to use for the Github Action identity token. Only used if JWT not provided and using GHA JWT | no | — |
| exportToken | Whether or not export Nomad token as environment variables | no | true |
| outputToken | Whether or not to set the `nomadToken` output to contain the Nomad token after authentication | no | true |
| tlsSkipVerify | When set to true, disables verification of the Nomad server certificate - setting this to true in production is not recommended | no | false |
| caCertificate | Base64 encoded CA certificate to verify the Nomad server certificate | no | — |
| clientCertificate | Base64 encoded client certificate for mTLS communication with the Nomad server | no | — |
| clientKey | Base64 encoded client key for mTLS communication with the Nomad server | no | — |
| extraHeaders | A string of newline separated extra headers to include on every request | no | — |
Outputs
| name | description |
|---|---|
| nomad_token | The Nomad token minted using github auth |