Downloads:

537

Downloads of v 18.2.0.20210817:

16

Last Update:

17 Aug 2021

Package Maintainer(s):

Software Author(s):

  • Topicus Keyhub

Tags:

keyhub-cli portable keyhub topicus

keyhub-cli (Install)

  • 1
  • 2
  • 3

18.2.0.20210817 | Updated: 17 Aug 2021

Downloads:

537

Downloads of v 18.2.0.20210817:

16

Maintainer(s):

Software Author(s):

  • Topicus Keyhub

  • 1
  • 2
  • 3
keyhub-cli (Install) 18.2.0.20210817

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

To install keyhub-cli (Install), run the following command from the command line or from PowerShell:

>

To upgrade keyhub-cli (Install), run the following command from the command line or from PowerShell:

>

To uninstall keyhub-cli (Install), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade keyhub-cli -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade keyhub-cli -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure keyhub-cli installed
  win_chocolatey:
    name: keyhub-cli
    state: present
    version: 18.2.0.20210817
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'keyhub-cli' do
  action    :install
  version  '18.2.0.20210817'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: keyhub-cli,
    Version: 18.2.0.20210817,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller keyhub-cli
{
   Name     = 'keyhub-cli'
   Ensure   = 'Present'
   Version  = '18.2.0.20210817'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'keyhub-cli':
  provider => 'chocolatey',
  ensure   => '18.2.0.20210817',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install keyhub-cli version="18.2.0.20210817" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 17 Aug 2021.

Description

Topicus KeyHub can be access through a command line interface (CLI).
The CLI requires an operational Java 11 installation.

The following command shows all options of the CLI:

> keyhub help
usage: keyhub <command< [ <args< ]

Commands are:
help Display help information
list List the groups the client has access to
login Connect to a KeyHub server
logout Disconnect from a KeyHub server, discarding all credentials
status Shows the status of the current connection
version Displays the version of the Topicus KeyHub CLI
vault Access vaults in KeyHub

See 'keyhub help <command< for more information on a specific command.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'keyhub-cli'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = 'https://files.topicus-keyhub.com/manual/keyhub-cli-18.2.zip'
  checksum = 'EB76FCD641560D5093068117EB78A8DB638385B236C405CB0A9AEB719E732FA1'
  checksumType = 'sha256'
}

# https://chocolatey.org/docs/helpers-install-chocolatey-zip-package
Install-ChocolateyZipPackage @packageArgs

## Unzips a file to the specified location - auto overwrites existing content
## - https://chocolatey.org/docs/helpers-get-chocolatey-unzip
# Get-ChocolateyUnzip @packageArgs -destination $toolsDir -fileFullPath $fileLocation 
# Install-ChocolateyPath -pathToInstall $toolsDir  -pathType 'Machine'
Install-BinFile -Name keyhub -Path $toolsDir/keyhub.cmd
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Uninstall-BinFile -Name keyhub -Path $toolsDir/keyhub.cmd

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
keyhub-cli (Install) 18.2 14 Tuesday, August 10, 2021 Approved
keyhub-cli (Install) 18.1 20 Monday, June 21, 2021 Approved
keyhub-cli (Install) 18.0 28 Wednesday, May 12, 2021 Approved
keyhub-cli (Install) 17.2 30 Monday, March 8, 2021 Approved
keyhub-cli (Install) 17.1 37 Sunday, January 31, 2021 Approved
keyhub-cli (Install) 17.0 38 Monday, December 7, 2020 Approved
keyhub-cli (Install) 16.3 33 Saturday, December 5, 2020 Approved
keyhub-cli (Install) 15.2.0.20200314 131 Saturday, March 14, 2020 Approved

This package has no dependencies.

Discussion for the keyhub-cli (Install) Package

Ground Rules:

  • This discussion is only about keyhub-cli (Install) and the keyhub-cli (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or keyhub-cli (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus