<dependency>
<groupId>com.byteplus</groupId>
<artifactId>byteplus-sdk-java</artifactId>
<version>latest</version>
</dependency>
-
Explicitly call setAccessKey/setSecretKey method in service class
-
Set env variable BYTEPLUS_ACCESSKEY="your ak" BYTEPLUS_SECRETKEY = "your sk"
-
json config at ~/.byteplus/config,format:{"ak":"your ak","sk":"your sk"}
Above options will take precedence in sequence, Suggest use option 1 for better trouble shooting
- Currently, below regions are supported:
- ap-singapore-1
src/main/java/com/example