Often your project will require some secret keys or tokens - for instance, API keys or database authentication information. Learn how to safely and easily deploy secrets to now, and how to expose them as environment variables that your applications can load without making them public to the world.

Deploy with env variable:

now -e GREETING=Hello
now -e GREETING=Hello -e NAME=Egghead

But sometime you might don't know the variable be public. You want to make it secret.

now secret add greeting Hello
now secret add name Egghead

Then you can make a script to deploy:

now -e GREETING=@greeting -e NAME=@name

List your all secrets:

now secrets ls

Remove recret:

now secret remove name

最新文章

  1. 七个结构模式之代理模式(Proxy Pattern)
  2. webstorm 10 配置
  3. Nginx负载均衡配置实例详解(转)
  4. const 和宏的区别
  5. java俄罗斯方块游戏代码
  6. vim粘贴代码格式变乱
  7. PHP 发布两个不用递归的树形数组构造函数(转)
  8. zoj 2110
  9. c 语言 指针 与地址
  10. 转:PAT练习题概览
  11. 初识 JShell
  12. day-4 python多进程编程知识点汇总
  13. 服务器上部署Struts2的web项目报struts-default.xml:131:154的解决方法
  14. 原型模式ProtoType
  15. virsh命令和虚拟机克隆
  16. Ubuntu14.04+caffe+CPU
  17. JVM 运行时数据区 (三)
  18. 使用Base64格式的图片制作ICON
  19. 一文犀利看懂中美贸易战 z
  20. Xcode快捷键--灰常实用的快捷键,以后编程快捷多了

热门文章

  1. BZOJ 1009 GT考试 (AC自动机 + 矩阵乘法加速dp)
  2. Linux 常用解压缩归档命令
  3. java 并发原子性与易变性 来自thinking in java4 21.3.3
  4. Xcode7 的两个小坑
  5. log4j的总结
  6. 【天气APP】之桌面时钟witget组件
  7. 获取input file 选中的图片,并在一个div的img里面赋值src实现预览
  8. Win8.1部署 .NET Framework 3.5 安装方式
  9. 【前端统计图】echarts实现属性修改
  10. Java Web学习总结(11)——Session使用示例教程