import { providers } from 'gitops-secrets'
export default defineComponent({
props: {
doppler_secretops: {
type: "app",
app: "doppler_secretops",
}
},
async run({steps, $}) {
process.env.DOPPLER_TOKEN = `${this.doppler_secretops.$auth.service_token}`;
const secrets = await providers.doppler.fetch();
$.export('secrets', secrets);
},
})
Doppler uses API keys for authentication. When you connect your Doppler account, Pipedream securely stores the keys so you can easily authenticate to Doppler APIs in both code and no-code steps.
The Doppler SecretOps Platform uses Service Tokens for authentication to provide read-only access to secrets for a specific config within a Doppler Project
When creating a new Doppler SecretOps account for a specific Doppler config, Pipedream securely stores the Service Token for easy authentication with the Doppler API in both code and no-code steps.