So When i use the below in .travis.yml it works ..
*********************
deploy:
user: mybintrayuserid
provider: bintray
file: .bintray_descriptor.yml
key: myapikey
***********************
but if i change this to below i get error:
**************************
deploy:
user: mybintrayuserid
provider: bintray
file: .bintray_descriptor.yml
key:
secure: encryptedHashHash
****************************
Error that i get :
[Bintray Upload] Bintray response: 401 Unauthorized. This resource requires authentication .
How i generated the key :
travis encrypt myapikey --add deploy.key
Note: I've added screenshot too for more details ..
Screenshot : https://i.stack.imgur.com/rhkgJ.png