Skip to content

Commit 218d503

Browse files
authored
Merge pull request #7 from Keyfactor/ab#55467
v2.0.0
2 parents 490ba26 + de2bb90 commit 218d503

File tree

472 files changed

+166400
-5695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

472 files changed

+166400
-5695
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# See GitHub's documentation for more information on this file:
2+
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
3+
version: 2
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
- package-ecosystem: "gomod"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Keyfactor Bootstrap Workflow
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types: [ opened, closed, synchronize, edited, reopened ]
7+
push:
8+
create:
9+
branches:
10+
- 'release-*.*'
11+
12+
jobs:
13+
call-starter-workflow:
14+
uses: keyfactor/actions/.github/workflows/starter.yml@v3
15+
secrets:
16+
token: ${{ secrets.V2BUILDTOKEN}}
17+
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
18+
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
19+
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}
20+
scan_token: ${{ secrets.SAST_TOKEN }}

.gitignore

Lines changed: 149 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,152 @@ _testmain.go
2626
.idea
2727
.openapi-generator
2828
.DS_Store
29-
*.yaml
29+
*.yaml
30+
31+
### JetBrains template
32+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
33+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
34+
35+
# User-specific stuff
36+
.idea/**/workspace.xml
37+
.idea/**/tasks.xml
38+
.idea/**/usage.statistics.xml
39+
.idea/**/dictionaries
40+
.idea/**/shelf
41+
42+
# AWS User-specific
43+
.idea/**/aws.xml
44+
45+
# Generated files
46+
.idea/**/contentModel.xml
47+
48+
# Sensitive or high-churn files
49+
.idea/**/dataSources/
50+
.idea/**/dataSources.ids
51+
.idea/**/dataSources.local.xml
52+
.idea/**/sqlDataSources.xml
53+
.idea/**/dynamic.xml
54+
.idea/**/uiDesigner.xml
55+
.idea/**/dbnavigator.xml
56+
57+
# Gradle
58+
.idea/**/gradle.xml
59+
.idea/**/libraries
60+
61+
# Gradle and Maven with auto-import
62+
# When using Gradle or Maven with auto-import, you should exclude module files,
63+
# since they will be recreated, and may cause churn. Uncomment if using
64+
# auto-import.
65+
# .idea/artifacts
66+
# .idea/compiler.xml
67+
# .idea/jarRepositories.xml
68+
# .idea/modules.xml
69+
# .idea/*.iml
70+
# .idea/modules
71+
# *.iml
72+
# *.ipr
73+
74+
# CMake
75+
cmake-build-*/
76+
77+
# Mongo Explorer plugin
78+
.idea/**/mongoSettings.xml
79+
80+
# File-based project format
81+
*.iws
82+
83+
# IntelliJ
84+
out/
85+
86+
# mpeltonen/sbt-idea plugin
87+
.idea_modules/
88+
89+
# JIRA plugin
90+
atlassian-ide-plugin.xml
91+
92+
# Cursive Clojure plugin
93+
.idea/replstate.xml
94+
95+
# SonarLint plugin
96+
.idea/sonarlint/
97+
98+
# Crashlytics plugin (for Android Studio and IntelliJ)
99+
com_crashlytics_export_strings.xml
100+
crashlytics.properties
101+
crashlytics-build.properties
102+
fabric.properties
103+
104+
# Editor-based Rest Client
105+
.idea/httpRequests
106+
107+
# Android studio 3.1+ serialized cache file
108+
.idea/caches/build_file_checksums.ser
109+
110+
### Terraform template
111+
# Local .terraform directories
112+
**/.terraform/*
113+
114+
# .tfstate files
115+
*.tfstate
116+
*.tfstate.*
117+
118+
# Crash log files
119+
crash.log
120+
crash.*.log
121+
122+
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
123+
# password, private keys, and other secrets. These should not be part of version
124+
# control as they are data points which are potentially sensitive and subject
125+
# to change depending on the environment.
126+
*.tfvars
127+
*.tfvars.json
128+
129+
# Ignore override files as they are usually used to override resources locally and so
130+
# are not checked in
131+
override.tf
132+
override.tf.json
133+
*_override.tf
134+
*_override.tf.json
135+
136+
# Include override files you do wish to add to version control using negated pattern
137+
# !example_override.tf
138+
139+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
140+
# example: *tfplan*
141+
142+
# Ignore CLI configuration files
143+
.terraformrc
144+
terraform.rc
145+
146+
### Go template
147+
# If you prefer the allow list template instead of the deny list, see community template:
148+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
149+
#
150+
# Binaries for programs and plugins
151+
.idea
152+
*.exe
153+
*.exe~
154+
*.dll
155+
*.so
156+
*.dylib
157+
158+
# Test binary, built with `go test -c`
159+
*.test
160+
161+
# Output of the go coverage tool, specifically when used with LiteIDE
162+
*.out
163+
164+
# Dependency directories (remove the comment below to include it)
165+
vendor/
166+
167+
.env*
168+
169+
*.csv
170+
/.vs/**/*
171+
/.vscode/**/*
172+
.DS_Store
173+
.auto.tfvars
174+
175+
*.cnf
176+
*.pem
177+
*command_config.json

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# v2.0.0
2+
3+
## Features
4+
- Support for `OAuth2` client config
5+
- Added support for Keyfactor client config file with `OAuth2` client config(s)
6+
7+
## Breaking Changes
8+
- fix: Return errors if client setup fails rather than `log.fatalf`
9+
- fix: `NewAPIClient` returns `(*APIClient, error)`
10+
11+
# v1.0.0
12+
- Initial release

0 commit comments

Comments
 (0)