cookbook 'cyberark', '= 1.0.0'
cyberark (2) Versions 1.0.0 Follow2
Custom resource to retrieve credential from CyberArk vault using AIM Central Credential Provider
cookbook 'cyberark', '= 1.0.0', :supermarket
knife supermarket install cyberark
knife supermarket download cyberark
cyberark Cookbook
Contains custom resource cyberark_credential
and a default sample cookbook. It retrieves credential from CyberArk vault using AIM API (connecting to AIM Central Credential Provider.)
It requires cyberark_credential
gem.
Requirements
Platforms
- All platforms supported by Chef
Chef
- Chef 12.1+
Cookbooks
- none
Custom Resources
cyberark_credential
Actions
-
:read
- Retrieves credential from CyberArk vault using AIM API (connecting to AIM Central Credential Provider)
Properties
-
name
- Name attribute. The name of the value to be stored in the registry -
app_id
- ID for Application defined in CyberArk -
query
- The query to match the credential to be retrieved -
base_url
- The base URL for CyberArk AIM Central Credential Provider -
use_ssl
- Whether to use HTTP (false) or HTTPS (true) when making the API call
Examples
Retrieves CyberArk credential for account which matches criteria "Safe=Test;Folder=Root;Object=Object",
and creates a file named /tmp/test.txt with information received from CyberArk.
chef_gem 'cyberark_credential' do compile_time true end cyberark_credential "cred1" do app_id #{node['cyberark']['app_id']} query #{node['cyberark']['query']} notifies :create, "file[/tmp/test.txt]", :immediately base_url #{node['cyberark']['base_url']} use_ssl #{node['cyberark']['use_ssl']} end file '/tmp/test.txt' do sensitive true content lazy { "!USERNAME=#{node.run_state['cred1']['UserName']}\nPASSWORD=#{node.run_state['cred1']['Content']}\nDatabase=#{node.run_state['cred1']['Database']}\n" } only_if { node.run_state.key?('cred1') } end
License & Authors
- Author:: CyberArk BizDev Team (business_development@cyberark.com)
Copyright 2017, CyberArk Software, Inc. 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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
initial CHANGELOG
This file is used to list changes made in each version of the cyberark cookbook.
0.1.0
- [Edward Nunez] - Initial release of cyberark
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC108: Resource should not define a property named 'name': cyberark/resources/cyberark_credential_resource.rb:26
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC108: Resource should not define a property named 'name': cyberark/resources/cyberark_credential_resource.rb:26
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 passed this metric