Toolverse
All skills

secrets-manager

by itsmostafa

AWS Secrets Manager for secure secret storage and rotation. Use when storing credentials, configuring automatic rotation, managing secret versions, retrieving secrets in applications, or integrating with RDS.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Security
Views
2

About this skill

AWS Secrets Manager for secure secret storage and rotation. Use when storing credentials, configuring automatic rotation, managing secret versions, retrieving secrets in applications, or integrating with RDS.

How to use

  1. Zainstaluj umiejętność secrets-manager w swoim agencie Claude lub Copilot, dodając ją do konfiguracji dostępnych narzędzi AWS.

  2. Utwórz nowy sekret za pomocą AWS CLI, podając nazwę, opis i zawartość. Dla bazy danych użyj formatu JSON z polami username, password, host, port i database. Alternatywnie możesz przesłać dane binarne, takie jak certyfikaty, używając opcji --secret-binary.

  3. Skonfiguruj automatyczną rotację, definiując funkcję Lambda, która będzie wywoływana w ustalonych interwałach. AWS Secrets Manager zarządza wersjami sekretów (AWSCURRENT dla aktywnej, AWSPENDING dla rotowanej, AWSPREVIOUS dla poprzedniej).

  4. W aplikacji pobierz sekret za pomocą boto3 lub AWS SDK, odwołując się do nazwy sekretnego. Narzędzie automatycznie zwraca aktualną wersję (AWSCURRENT).

  5. Monitoruj rotacje i wersje sekretów w konsoli AWS lub za pomocą CLI, aby upewnić się, że poświadczenia są regularnie odświeżane i bezpieczne.

Related skills