Downloads:

650

Downloads of v 19.0:

22

Last Update:

29 Sep 2021

Package Maintainer(s):

Software Author(s):

  • Topicus Keyhub

Tags:

keyhub-cli portable keyhub topicus

keyhub-cli (Install)

This is not the latest version of keyhub-cli (Install) available.

  • 1
  • 2
  • 3

19.0 | Updated: 29 Sep 2021

Downloads:

650

Downloads of v 19.0:

22

Maintainer(s):

Software Author(s):

  • Topicus Keyhub

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

This is not the latest version of keyhub-cli (Install) available.

  • 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

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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. Copy Your Script

choco upgrade keyhub-cli -y --source="'INTERNAL REPO URL'" --version="'19.0'" [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="'INTERNAL REPO URL'" --version="'19.0'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install keyhub-cli
  win_chocolatey:
    name: keyhub-cli
    version: '19.0'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'keyhub-cli' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '19.0'
end

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


cChocoPackageInstaller keyhub-cli
{
    Name     = "keyhub-cli"
    Version  = "19.0"
    Source   = "INTERNAL REPO URL"
}

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


package { 'keyhub-cli':
  ensure   => '19.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. 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 29 Sep 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-19.0.zip'
  checksum = '2E6E679497B9A9F208494DD8160A5F35E372F6131632C2C44A611994AFC992B8'
  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.

Add to Builder Version Downloads Last Updated Status
keyhub-cli (Install) 19.0 22 Wednesday, September 29, 2021 Approved
keyhub-cli (Install) 18.2.0.20210817 22 Tuesday, August 17, 2021 Approved
keyhub-cli (Install) 18.2 22 Tuesday, August 10, 2021 Approved
keyhub-cli (Install) 18.1 24 Monday, June 21, 2021 Approved
keyhub-cli (Install) 18.0 36 Wednesday, May 12, 2021 Approved
keyhub-cli (Install) 17.2 35 Monday, March 8, 2021 Approved
keyhub-cli (Install) 17.1 50 Sunday, January 31, 2021 Approved
keyhub-cli (Install) 17.0 50 Monday, December 7, 2020 Approved
keyhub-cli (Install) 16.3 38 Saturday, December 5, 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