Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions actions/auth-application/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@
`auth-application` uses Teleport Machine ID to generate credentials for
accessing an application protected by Teleport.

The action has the following outputs:

- `certificate-file`: the path to the client certificate to use with requests to
the application.
- `key-file`: the path to the private key for the client certificate to use with
request to the application.

Pre-requisites:

- **Teleport 14 or above must be used.** Use
Expand Down Expand Up @@ -77,6 +70,7 @@ jobs:

This action will output the following values:

- `destination-dir`: the path to the tbot destination folder.
- `identity-file`: the path to the identity file.
- `certificate-file`: the path to the client certificate.
- `key-file`: the path to the private key for the client certificate.
2 changes: 1 addition & 1 deletion actions/auth-application/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-application",
"version": "2.0.3",
"version": "2.0.4",
"license": "Apache-2.0",
"repository": "https://github.com/teleport-actions/auth-application.git",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions actions/auth-application/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function run() {
);
await tbot.execute(configPath, env);

core.setOutput('destination-dir', destinationPath);
core.setOutput('identity-file', path.join(destinationPath, 'identity'));
core.setOutput('certificate-file', path.join(destinationPath, 'tlscert'));
core.setOutput('key-file', path.join(destinationPath, 'key'));
Expand Down
1 change: 1 addition & 0 deletions actions/auth-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ You can disable this behaviour by setting the `disable-env-vars` input to

This action will output the following values:

- `destination-dir`: the path to the tbot destination folder.
- `identity-file`: the path to the identity file.
- `kubeconfig`: the path to the generated Kubernetes configuration file.

Expand Down
2 changes: 1 addition & 1 deletion actions/auth-k8s/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-k8s",
"version": "2.0.3",
"version": "2.0.4",
"license": "Apache-2.0",
"repository": "https://github.com/teleport-actions/auth-k8s.git",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions actions/auth-k8s/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async function run() {

const identityPath = path.join(destinationPath, 'identity');
const kubeConfigPath = path.join(destinationPath, 'kubeconfig.yaml');
core.setOutput('destination-dir', destinationPath);
core.setOutput('identity-file', identityPath);
core.setOutput('kubeconfig', kubeConfigPath);

Expand Down
6 changes: 1 addition & 5 deletions actions/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
`auth` uses Teleport Machine ID to generate a set of credentials which can be
used with other Teleport client tools such as `tsh` and `tctl`.

The action has the following outputs:

- `identity-file`: the path to the identity file which can be used with `tctl` and `tsh`.
- `ssh-config`: the path to the generated SSH config which can be used with `ssh`.

Pre-requisites:

- **Teleport 14 or above must be used.** Use
Expand Down Expand Up @@ -92,6 +87,7 @@ You can disable this behaviour by setting the `disable-env-vars` input to

This action will output the following values:

- `destination-dir`: the path to the tbot destination folder.
- `identity-file`: the path to the identity file.
- `ssh-config`: the path to the generated SSH config.

Expand Down
2 changes: 1 addition & 1 deletion actions/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth",
"version": "2.0.3",
"version": "2.0.4",
"license": "Apache-2.0",
"repository": "https://github.com/teleport-actions/auth.git",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions actions/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ async function run() {

const identityFilePath = path.join(destinationPath, 'identity');
const sshConfigFilePath = path.join(destinationPath, 'ssh_config');
core.setOutput('destination-dir', destinationPath);
core.setOutput('identity-file', identityFilePath);
core.setOutput('ssh-config', sshConfigFilePath);

Expand Down
Loading