Metadata-Version: 2.4
Name: platon-cli
Version: 1.1.0
Summary: Unified CLI tool for managing Vault secrets and Kubernetes resources for Sikt GitLab repositories
Author-email: tollef jørgensen <tollef.jorgensen@sikt.no>
License: MIT
Project-URL: Documentation, https://platon.sikt.no/
Keywords: platon,vault,kubernetes,kubectl,cli
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Description-Content-Type: text/markdown
Requires-Dist: click>=8.1.0
Requires-Dist: rich>=13.7.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: prompt-toolkit>=3.0.43
Requires-Dist: questionary>=2.0.1
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: black>=24.1.0; extra == "dev"
Requires-Dist: flake8>=7.0.0; extra == "dev"
Requires-Dist: mypy>=1.8.0; extra == "dev"

# Platon CLI

a command-line tool for managing Vault secrets and Kubernetes resources for Sikt repos.

includes...

- vault secret management
- kubernetes resource operations
- auto-detection of repository configuration
- interactive tui menu
- shell completion for bash and zsh

## Installation

Install Vault CLI:

```bash
# macOS
brew tap hashicorp/tap
brew install hashicorp/tap/vault

# Linux (Ubuntu/Debian)
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install vault

# Windows
choco install vault

# for other platforms, see: https://developer.hashicorp.com/vault/install
```

### Install Platon CLI

```bash
# Using uv (recommended)
uv pip install platon-cli

# Using pip
pip install platon-cli
```

### Vault Login

login to vault using oidc:

```bash
vault login -method=oidc mount=microsoft
```

## Quick Start

navigate to a local repo and run:

```bash
platon

platon --help

platon status
```

For detailed usage, configuration, and examples, see [docs.md](docs.md).

