Giter Site home page Giter Site logo

vault-ssh-helper's Introduction

vault-ssh-helper

Instala e configura o vaultt-ssh-helper para controle de conexões SSH através do Hashicorp Vault.

Linux Distro Branch Ansible Version

Configuração de variáveis

As variáveis obrigatórias para utilizar a role são:

Variáveis obrigatórias

Variável Descrição
vault_addr Aplica o endereço do servidor Vault para o vault-ssh-helper. Ex: https://vault:8200
ssh_mount_point Identifica o ponto de montagem do servidor Vault para as conexões SSH.

Outras variáveis que podem ser usadas na role (não obrigatórias)*:

ca_cert = "{{ ca_cert }}"
ca_path = "{{ ca_path }}"
tls_skip_verify = {{ tls_skip_verify }}
allowed_roles = "{{ allowed_roles }}"
allowed_cidr_list = "{{ allowed_cidr_list }}"

Para executar a role

Você pode fazer o download do código através do binário ansible-galaxy:

# ansible-galaxy install jonathandalves.vault_ssh_helper

Segue uma sugestão para playbook referenciando as variáveis obrigatórias:

---
- hosts: localhost
  vars:
  - vault_addr: https://vault:8200
  - ssh_mount_point: ssh
  roles:
  - jonathandalves.vault_ssh_helper

Atenção

As configurações aplicadas nesta role interagem diretamente com o PAM, serviço de autenticação do sistema Linux. Foram realizados testes desta role apenas nas seguintes distribuições:

  • Ubuntu 18.04
  • CentOS 7

Para outras versões e distribuições (ou sistemas), execute testes em laboratório.

Informações do Autor

Criado por Jonathan Dantas Alves.

vault-ssh-helper's People

Contributors

jonathandalves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.