Skip to content

launchdarkly/octosts-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Note

This action is maintained by LaunchDarkly for use across our repositories. It sets many defaults which may not be compatible with your environment and is not intended for direct use.

Description

Exchanges the workflow's identity token for a GitHub token from the OctoSTS service, using a configured trust policy.

Inputs

name description required default
domain

The domain of the OctoSTS instance to federate against.

false octosts.shd.ldinfra.net
scope

The org, and optionally repo, of the repository which contains the trust policy.

true ""
identity

The name of the trust policy to load from the target repository provided in the scope input. The trust policy is loaded from the provided scope repository, and the filepath .github/chainguard/{identity}.sts.yaml

true ""
configure-git

Whether to configure git to use the federated token for authentication.

false false

Outputs

name description
token

The federated token to use for authentication

Runs

This action is a node24 action.

Contributors