这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@humphd
Copy link
Owner

@humphd humphd commented Feb 25, 2025

From Discord:

import { decryptSops } from "npm:sops-age@3.2.0";

const {
OPENROUTER_API_KEY,
GROQ_API_KEY,
SAMBANOVA_API_KEY
} = await decryptSops(JSON.stringify(secrets), {fileType: "json"});
a little weird to have to stringify again 🙂

This add support for being able to do this:

import { decryptSops } from "npm:sops-age@3.3.0";

const {
  OPENROUTER_API_KEY,
  GROQ_API_KEY,
  SAMBANOVA_API_KEY
} = await decryptSops(secrets);

@humphd humphd requested a review from tarasglek February 25, 2025 13:44
Copy link
Collaborator

@tarasglek tarasglek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@humphd humphd merged commit fc57d30 into main Feb 26, 2025
8 checks passed
@humphd humphd deleted the humphd/support-bare-objects branch February 26, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants