Doppler is the multi-cloud SecretOps Platform developers and security teams trust to provide secrets management at enterprise scale. Thousands of companies of all sizes use Doppler to manage and sync secrets and app configuration to every cloud provider and hosting platform, from local development environments to production.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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);
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})