Skip to content

Conversation

@saileshwar-skyflow
Copy link
Collaborator

Why

  • The main branch currently contains outdated v1 SDK code and README.
  • The latest v2 SDK (GA) exists in a separate v2 branch, which can confuse users.
  • Users generally expect the main branch to always reflect the latest version.

Outcome

  • Move v2 SDK code, samples, and README to the main branch.
  • Create and retain a separate v1 branch for any future patches or reference.
  • Ensure the main branch clearly represents the latest stable version (v2).

skyflow-vivek and others added 30 commits September 17, 2024 10:51
- Renamed packages according to design doc for sdk v2
- SK-1677 Worked on client intialisation for Java SDK v2
- Implemented bearer token utilities for generating bearer token with or without context and roles
- Implemented Token utilties to check for validity of tokens
- Implemented signed data tokens utilities to generate signed data tokens
- SK-1703 Implemented public interfaces for detokenize
SK-1703 Abstracted constructor for Detokenize Request Builder
- SK-1701 Modified insert public interfaces
- SK-1702 Modified get public interfaces
- SK-1704 Implemented update public interfaces
- Change builder pattern implementation for vault API interfaces
skyflow-vivek and others added 3 commits August 1, 2025 20:09
@github-actions
Copy link

🔐 Gitleaks Findings: 9 issue(s) detected

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/ConnectionClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/ConnectionClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: private-key
📄 File: v2/src/test/resources/invalidTokenURICredentials.json:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/test/resources/invalidTokenURICredentials.json:null

🔸 Rule: generic-api-key
📄 File: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null

🔸 Rule: private-key
📄 File: v2/src/main/java/com/skyflow/utils/Constants.java:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Constants.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v1/src/main/java/DetokenizeExample.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v1/src/main/java/DetokenizeExample.java:null

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

* SK-2342: update readme and samples
@github-actions
Copy link

🔐 Gitleaks Findings: 9 issue(s) detected

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/ConnectionClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/ConnectionClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: private-key
📄 File: v2/src/test/resources/invalidTokenURICredentials.json:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/test/resources/invalidTokenURICredentials.json:null

🔸 Rule: generic-api-key
📄 File: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null

🔸 Rule: private-key
📄 File: v2/src/main/java/com/skyflow/utils/Constants.java:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Constants.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v1/src/main/java/DetokenizeExample.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v1/src/main/java/DetokenizeExample.java:null

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@github-actions
Copy link

🔐 Gitleaks Findings: 9 issue(s) detected

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/ConnectionClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/ConnectionClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: private-key
📄 File: v2/src/test/resources/invalidTokenURICredentials.json:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/test/resources/invalidTokenURICredentials.json:null

🔸 Rule: generic-api-key
📄 File: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null

🔸 Rule: private-key
📄 File: v2/src/main/java/com/skyflow/utils/Constants.java:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Constants.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v1/src/main/java/DetokenizeExample.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v1/src/main/java/DetokenizeExample.java:null

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@github-actions
Copy link

🔐 Gitleaks Findings: 9 issue(s) detected

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/ConnectionClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/ConnectionClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: private-key
📄 File: v2/src/test/resources/invalidTokenURICredentials.json:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/test/resources/invalidTokenURICredentials.json:null

🔸 Rule: generic-api-key
📄 File: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null

🔸 Rule: private-key
📄 File: v2/src/main/java/com/skyflow/utils/Constants.java:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Constants.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v1/src/main/java/DetokenizeExample.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v1/src/main/java/DetokenizeExample.java:null

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@github-actions
Copy link

🔐 Gitleaks Findings: 9 issue(s) detected

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/ConnectionClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/ConnectionClientTests.java:null

🔸 Rule: generic-api-key
📄 File: src/test/java/com/skyflow/VaultClientTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: src/test/java/com/skyflow/VaultClientTests.java:null

🔸 Rule: private-key
📄 File: v2/src/test/resources/invalidTokenURICredentials.json:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/test/resources/invalidTokenURICredentials.json:null

🔸 Rule: generic-api-key
📄 File: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null
📝 Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
🔑 Secret: **********
🔗 Path: v2/src/test/java/com/skyflow/vault/config/CredentialsTests.java:null

🔸 Rule: private-key
📄 File: v2/src/main/java/com/skyflow/utils/Constants.java:null
📝 Description: Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Constants.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v2/src/main/java/com/skyflow/utils/Utils.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v2/src/main/java/com/skyflow/utils/Utils.java:null

🔸 Rule: jwt
📄 File: v1/src/main/java/DetokenizeExample.java:null
📝 Description: Uncovered a JSON Web Token, which may lead to unauthorized access to web applications and sensitive user data.
🔑 Secret: **********
🔗 Path: v1/src/main/java/DetokenizeExample.java:null

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@saileshwar-skyflow saileshwar-skyflow merged commit 167cd47 into main Oct 14, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants