Git Product home page Git Product logo

taccoform-1password-demo's Introduction

taccoform-1password-demo

Install and Configure 1Password

  1. Install 1password 8
  2. Install 1password cli 2.0
  3. Sign into 1password cli
  4. Create new vault: op vault create taccoform-demo
op vault create taccoform-demo
ID:                   REDACTED
Name:                 taccoform-demo
Type:                 USER_CREATED
Attribute version:    1
Content version:      1
Items:                0
Created:              now
Updated:              now
  1. Create new secret: op item create --category=password --title='demo-secret' --vault taccoform-demo' 'password=passwordistaco'
op item create --category=password --title='demo-secret' --vault taccoform-demo 'password=passwordistaco'
ID:          REDACTED
Title:       demo-secret
Vault:       REDACTED
Created:     now
Updated:     now
Favorite:    false
Version:     0
Category:    PASSWORD
Fields:
  password:    passwordistaco
  1. Create secret for your DigitalOcean access token: op item create --category=password --title='do-token' --vault taccoform-demo 'password=DIGITALOCEANACCESSTOKENGOESHERE'
  2. Set DigitalOcean environment variable: export DIGITALOCEAN_ACCESS_TOKEN=op://taccoform-demo/do-token/password
  3. Use 1password cli to pass credentials to DigitalOcean CLI tool: op run -- doctl account get
  4. You can also pass the credentials to a docker container: docker run --rm --interactive --tty --env-file <(op run --no-masking -- env | grep DIGITALOCEAN) digitalocean/doctl account get

Terraform

  1. Set a DigitalOcean access token Terraform variable via environment variables: export TF_VAR_do_token=op://taccoform-demo/do-token/password
  2. Check out the environment variable output: op run -- env | grep TF_VAR
  3. Init: op run -- terraform init
  4. Apply: op run -- terraform apply
  5. Destroy: op run -- terraform destroy

taccoform-1password-demo's People

Contributors

jperez3 avatar

Stargazers

Artem Mialo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.