Add Octopus Deploy shell plugin#623
Open
xcezx wants to merge 1 commit into
Open
Conversation
Add a shell plugin for the Octopus Deploy CLI (octopus) that provisions OCTOPUS_API_KEY, OCTOPUS_URL, and OCTOPUS_SPACE from 1Password. Supports importing existing credentials from environment variables and from the octopus login config file (~/.config/octopus/cli_config.json). Add the "Space" field name to the SDK for OCTOPUS_SPACE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Add a shell plugin for the Octopus Deploy CLI (
octopus) officially provided by Octopus Deploy.The plugin provisions
OCTOPUS_API_KEY,OCTOPUS_URL, andOCTOPUS_SPACEfrom 1Password. It supports importing existing credentials from:OCTOPUS_API_KEY,OCTOPUS_URL,OCTOPUS_SPACE), andoctopus loginconfig file at~/.config/octopus/cli_config.json.It also adds a
Spacefield name to the SDK forOCTOPUS_SPACE.Type of change
Related Issue(s)
N/A
How To Test
After configuring the plugin, run a command that requires authentication, for example:
Tip
The guest account on the Live Demo Server officially provided by Octopus Deploy has an API Key registered with no expiration date, which can be used to verify system functionality.
OCTOPUS_URL:https://samples.octopus.app/OCTOPUS_API_KEY: The string beginning with "API-" displayed in the "Purpose" column, which can be found by navigating to "My Profile" > "My API Keys", is available for use as API Key.Changelog
Authenticate the Octopus Deploy CLI using Touch ID and other unlock options with 1Password Shell Plugins.