pamcli

command module
v0.0.0-...-b7b0499 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

pamcli

使用

首先在pam上注册应用,并分配读权限到具体的密码保险箱

export PAM_ADDR=https://10.95.58.126  
export PAM_CLIENT_ID=I6Kyx9jW798ALzw9yt6O0Ua4sLUAqlU0  
export PAM_CLIENT_SECRET=pc9OSe5mR4D0mWpO1uq5qlj2I38e6CZ0q8ekMUUFQ6G1DUdK1nP052f6yznLM8sgTM2EBT9GIc5eWw3D37Ifkh2012812eiB272fJhpv488EdEqtsBl9LILB7yMMmbE1  

然后按pamcli://username/、pamcli://password/格式注册变量

export ORACLE_ACCOUNT_USERNAME=pamcli://username/6825644932833738753  
export ORACLE_ACCOUNT_PASSWORD=pamcli://password/6825644932833738753  
export LINUX_ACCOUNT_USERNAME=pamcli://username/6825638948082024449  
export LINUX_ACCOUNT_PASSWORD=pamcli://password/6825638948082024449  

执行应用程序
./pamcli run -- sh example.sh

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL