Authentication using the metadata service

    The article is being updated.

    Go

    1. AuthProvider authProvider = CloudAuthProvider.newAuthProvider(
    2. ComputeEngineCredentialProvider.builder()
    3. .build()
    4. );
    5. .withAuthProvider(authProvider)
    6. .build();
    7. TableClient tableClient = TableClient
    8. doWork(tableClient);
    9. tableClient.close();