-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-658339: Implement CLOUD_PROVIDER_TOKEN secret type for Java (#120)
* Implement CLOUD_PROVIDER_TOKEN secret type for Java Udx * Address review comments --------- Co-authored-by: Shawn Yang <[email protected]>
- Loading branch information
1 parent
ef78860
commit a86197d
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/main/java/com/snowflake/snowpark_java/types/CloudProviderToken.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.snowflake.snowpark_java.types; | ||
|
||
/** The Snowflake class provides access to the CloudProviderToken secret object with the following properties: accessKeyId, | ||
* secretAccessKey, and token.*/ | ||
|
||
public class CloudProviderToken { | ||
private final String accessKeyId; | ||
private final String secretAccessKey; | ||
private final String token; | ||
|
||
public CloudProviderToken(String id, String key, String token) { | ||
this.accessKeyId = id; | ||
this.secretAccessKey = key; | ||
this.token = token; | ||
} | ||
|
||
public String getAccessKeyId() { | ||
return accessKeyId; | ||
} | ||
|
||
public String getSecretAccessKey() { | ||
return secretAccessKey; | ||
} | ||
|
||
public String getToken() { | ||
return token; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters